You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,7 @@ This method will be called when an incoming message is received. Next, process m
124
124
| Example of sending a picture by uploading from the disk |[sendPictureByUpload.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/sendPictureByUpload.php)|
125
125
| Example of a group creation and sending a message to the group |[createGroupAndSendMessage.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/createGroupAndSendMessage.php)|
126
126
| Example of incoming webhooks receiving |[receiveNotification.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/receiveNotification.php)|
127
+
| Example if working with contacts |[contactsMethods.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/contactsMethods.php)|
127
128
128
129
## The full list of the library methods
129
130
@@ -138,6 +139,9 @@ This method will be called when an incoming message is received. Next, process m
138
139
|`account.qr`| The method is designed to get a QR code |[QR](https://green-api.com/en/docs/api/account/QR/)|
139
140
|`account.getAuthorizationCode`| The method is designed to authorize an instance by phone number |[GetAuthorizationCode](https://green-api.com/en/docs/api/account/GetAuthorizationCode/)|
140
141
|`account.setProfilePicture`| The method is designed to set the avatar of the account |[SetProfilePicture](https://green-api.com/en/docs/api/account/SetProfilePicture/)|
142
+
|`contacts.addContact()`| The method is aimed for adding a number to contacts |[AddContact](https://green-api.com/en/docs/api/contacts/AddContact)|
143
+
|`contacts.editContact()`| The method is used to edit a number in contacts |[EditContact](https://green-api.com/en/docs/api/contacts/EditContact)|
144
+
|`contacts.deleteContact()`| The method is used to remove a number from contacts |[DeleteContact](https://green-api.com/en/docs/api/contacts/DeleteContact)|
141
145
|`groups.createGroup`| The method is designed to create a group chat |[CreateGroup](https://green-api.com/en/docs/api/groups/CreateGroup/)|
142
146
|`groups.updateGroupName`| The method changes the name of the group chat |[UpdateGroupName](https://green-api.com/en/docs/api/groups/UpdateGroupName/)|
143
147
|`groups.getGroupData`| The method gets group chat data |[GetGroupData](https://green-api.com/en/docs/api/groups/GetGroupData/)|
Copy file name to clipboardExpand all lines: README_RUS.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,7 @@ body | тело сообщения (json)
122
122
| Пример отправки картинки загрузкой с диска |[sendPictureByUpload.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/sendPictureByUpload.php)|
123
123
| Пример создание группы и отправка сообщения в группу |[createGroupAndSendMessage.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/createGroupAndSendMessage.php)|
124
124
| Пример получения входящих уведомлений |[receiveNotification.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/receiveNotification.php)|
125
+
| Как работать с контактами |[contactsMethods.php](https://github.com/green-api/whatsapp-api-client-php/blob/master/examples/contactsMethods.php)|
125
126
126
127
## Полный список методов библиотеки
127
128
@@ -136,6 +137,9 @@ body | тело сообщения (json)
136
137
|`account.qr`| Метод предназначен для получения QR-кода |[QR](https://green-api.com/docs/api/account/QR/)|
137
138
|`account.setProfilePicture`| Метод предназначен для установки аватара аккаунта |[SetProfilePicture](https://green-api.com/docs/api/account/SetProfilePicture/)|
138
139
|`account.getAuthorizationCode`| Метод предназначен для авторизации инстанса по номеру телефона |[GetAuthorizationCode](https://green-api.com/docs/api/account/GetAuthorizationCode/)|
140
+
|`contacts.addContact()`| Метод предназначен для добавления контакта |[AddContact](https://green-api.com/docs/api/contacts/AddContact)|
141
+
|`contacts.editContact()`| Метод предназначен для изменения контакта |[EditContact](https://green-api.com/docs/api/contacts/EditContact)|
142
+
|`contacts.deleteContact()`| Метод предназначен для удаления контакта |[DeleteContact](https://green-api.com/docs/api/contacts/DeleteContact)|
139
143
|`groups.createGroup`| Метод предназначен для создания группового чата |[CreateGroup](https://green-api.com/docs/api/groups/CreateGroup/)|
140
144
|`groups.updateGroupName`| Метод изменяет наименование группового чата |[UpdateGroupName](https://green-api.com/docs/api/groups/UpdateGroupName/)|
141
145
|`groups.getGroupData`| Метод получает данные группового чата |[GetGroupData](https://green-api.com/docs/api/groups/GetGroupData/)|
0 commit comments