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
| Example of sending text |[sendTextMessage.py](./examples/sync/sendTextMessage.pyy)|
279
+
| Example of sending text |[sendTextMessage.py](./examples/sync/sending/sendTextMessage.pyy)|
223
280
| Example of sending text asynchronously |[sendTextMessageAsync.py](./examples/async/sendMessageAsync.py)|
224
-
| Example of sending a picture by URL |[sendPictureByLink.py](./examples/sync/sendPictureByLink.py)|
281
+
| Example of sending a picture by URL |[sendPictureByLink.py](./examples/sync/sending/sendPictureByLink.py)|
225
282
| Example of sending a file by URL asynchronously |[sendFileByUrlAsync.py](./examples/async/sending/sendFileByUrlAsync.py)|
226
-
| Example of sending a picture by uploading from the disk |[sendPictureByUpload.py](./examples/sync/sendPictureByUpload.py)|
283
+
| Example of sending a picture by uploading from the disk |[sendPictureByUpload.py](./examples/sync/sending/sendPictureByUpload.py)|
227
284
| Example of sending file by uploading from the disk asynchronously |[sendFileByUploadAsync.py](./examples/async/sending/sendFileByUploadAsync.py)|
228
-
| Example of a group creation and sending a message to the group |[createGroupAndSendMessage.py](./examples/sync/createGroupAndSendMessage.py)|
285
+
| Example of a group creation and sending a message to the group |[createGroupAndSendMessage.py](./examples/sync/sending/createGroupAndSendMessage.py)|
229
286
| Example of a group creation and sending a message to the group asynchronously |[createGroupAndSendMessageAsync.py](./examples/async/createGroupAndSendMessageAsync.py)|
230
287
| Example of incoming webhooks receiving |[receiveNotification.py](./examples/sync/receiveNotification.py)|
231
288
| Example of incoming webhooks receiving asynchronously |[receiveNotificationAsync.py](./examples/async/receiveNotificationAsync.py)|
232
-
| Example of sending a polling message |[sendPoll.py](./examples/sync/sendPoll.py)|
289
+
| Example of sending a polling message |[sendPoll.py](./examples/sync/sending/sendPoll.py)|
233
290
| Example of sending a polling message asynchronously |[sendPollAsync.py](./examples/async/sending/sendPollasync.py)|
234
291
| Example of sending a text status |[sendTextStatus.py](./examples/sync/statusesMethods/sendTextStatus.py)|
235
292
| Example of sending a text status asynchronously |[sendTextStatusAsync.py](./examples/async/statusesMethods/sendTextStatusAsync.py)|
236
293
| Example of creating instance |[CreateInstance.py](./examples/sync/partherMethods/CreateInstance.py)|
237
294
| Example of creating instance asynchronously |[CreateInstanceAsync.py](./examples/async/partherMethods/CreateInstanceAsync.py)|
295
+
| Example of sending interactive buttons |[SendInteractiveButtons.py](../examples/sync/sending/sendInteractiveButtons.py)|
296
+
| Example of sending interactive buttons asynchronously |[SendInteractiveButtonsAsync.py](../examples/async/sending/sendInteractiveButtonsAsync.py)|
297
+
| Example of sending interactive buttons with a reply |[SendInteractiveButtonsReply.py](../examples/sync/sending/sendInteractiveButtonsReply.py)|
298
+
| Example of sending interactive buttons asynchronously with a reply |[SendInteractiveButtonsReplyAsync.py](../examples/async/sending/sendInteractiveButtonsReplyAsync.py)|
238
299
239
300
## The full list of the library methods
240
301
@@ -278,17 +339,15 @@ print(response.data)
278
339
|`receiving.deleteNotification`| The method is designed to remove an incoming notification from the notification queue |[DeleteNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/DeleteNotification/)|
279
340
|`receiving.downloadFile`| The method is for downloading received and sent files |[DownloadFile](https://green-api.com/en/docs/api/receiving/files/DownloadFile/)|
280
341
|`sending.sendMessage`| The method is designed to send a text message to a personal or group chat |[SendMessage](https://green-api.com/en/docs/api/sending/SendMessage/)|
281
-
|`sending.sendButtons`| The method is designed to send a message with buttons to a personal or group chat |[SendButtons](https://green-api.com/en/docs/api/sending/SendButtons/)|
282
-
|`sending.sendTemplateButtons`| The method is designed to send a message with interactive buttons from the list of templates in a personal or group chat |[SendTemplateButtons](https://green-api.com/en/docs/api/sending/SendTemplateButtons/)|
283
-
|`sending.sendListMessage`| The method is designed to send a message with a selection button from a list of values to a personal or group chat |[SendListMessage](https://green-api.com/en/docs/api/sending/SendListMessage/)|
284
342
|`sending.sendFileByUpload`| The method is designed to send a file loaded through a form (form-data) |[SendFileByUpload](https://green-api.com/en/docs/api/sending/SendFileByUpload/)|
285
343
|`sending.sendFileByUrl`| The method is designed to send a file downloaded via a link |[SendFileByUrl](https://green-api.com/en/docs/api/sending/SendFileByUrl/)|
286
344
|`sending.uploadFile`| The method is designed to upload a file to the cloud storage, which can be sent using the sendFileByUrl method |[UploadFile](https://green-api.com/en/docs/api/sending/UploadFile/)|
287
345
|`sending.sendLocation`| The method is designed to send a geolocation message |[SendLocation](https://green-api.com/en/docs/api/sending/SendLocation/)|
288
346
|`sending.sendContact`| The method is for sending a message with a contact |[SendContact](https://green-api.com/en/docs/api/sending/SendContact/)|
289
-
|`sending.sendLink`| The method is designed to send a message with a link that will add an image preview, title and description |[SendLink](https://green-api.com/en/docs/api/sending/SendLink/)|
290
347
|`sending.forwardMessages`| The method is designed for forwarding messages to a personal or group chat |[ForwardMessages](https://green-api.com/en/docs/api/sending/ForwardMessages/)|
291
348
|`sending.sendPoll`| The method is designed for sending messages with a poll to a private or group chat |[SendPoll](https://green-api.com/en/docs/api/sending/SendPoll/)|
349
+
|`sending.sendInteractiveButtons`| This method is used to send messages with interactive buttons |[sendInteractiveButtons](https://green-api.com/en/docs/api/sending/SendInteractiveButtons/)|
350
+
|`sending.sendInteractiveButtonsReply`| This method is used to send messages with interactive buttons with a reply |[sendInteractiveButtonsReply](https://green-api.com/en/docs/api/sending/SendInteractiveButtonsReply/)|
292
351
|`serviceMethods.checkWhatsapp`| The method checks if there is a WhatsApp account on the phone number |[CheckWhatsapp](https://green-api.com/en/docs/api/service/CheckWhatsapp/)|
293
352
|`serviceMethods.getAvatar`| The method returns the avatar of the correspondent or group chat |[GetAvatar](https://green-api.com/en/docs/api/service/GetAvatar/)|
294
353
|`serviceMethods.getContacts`| The method is designed to get a list of contacts of the current account |[GetContacts](https://green-api.com/en/docs/api/service/GetContacts/)|
0 commit comments