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
Link to example: [sendTextStatus.py](https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/statusesMethods/sendTextStatus.py).
175
+
176
+
```
177
+
response = greenAPI.statuses.sendTextStatus(
178
+
"I sent this status using Green Api Python SDK!",
179
+
"#54c774",
180
+
"NORICAN_REGULAR"
181
+
)
182
+
183
+
print(response.data)
184
+
```
185
+
172
186
## Examples list
173
187
174
188
| Description | Module |
@@ -179,6 +193,7 @@ print(response.data)
179
193
| Example of a group creation and sending a message to the group |[createGroupAndSendMessage.py](https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/createGroupAndSendMessage.py)|
180
194
| Example of incoming webhooks receiving |[receiveNotification.py](https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/receiveNotification.py)|
181
195
| Example of sending a polling message |[sendPoll.py](https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/sendPoll.py)|
196
+
| Example of sending a text status |[sendTextStatus.py](https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/sendTextStatus.py)|
182
197
183
198
## The full list of the library methods
184
199
@@ -204,6 +219,13 @@ print(response.data)
204
219
|`groups.removeAdmin`| The method deprives the participant of group chat administration rights |[RemoveAdmin](https://green-api.com/en/docs/api/groups/RemoveAdmin/)|
205
220
|`groups.setGroupPicture`| The method sets the avatar of the group |[SetGroupPicture](https://green-api.com/en/docs/api/groups/SetGroupPicture/)|
206
221
|`groups.leaveGroup`| The method logs the user of the current account out of the group chat |[LeaveGroup](https://green-api.com/en/docs/api/groups/LeaveGroup/)|
222
+
|`statuses.sendTextStatus`| The method is aimed for sending a text status |[SendTextStatus](https://green-api.com/en/docs/api/statuses/SendTextStatus/)|
223
+
|`statuses.sendVoiceStatus`| The method is aimed for sending a voice status |[SendVoiceStatus](https://green-api.com/en/docs/api/statuses/SendVoiceStatus/)|
224
+
|`statuses.sendMediaStatus`| The method is aimed for sending a pictures or video status |[SendMediaStatus](https://green-api.com/en/docs/api/statuses/SendMediaStatus/)|
225
+
|`statuses.deleteStatus`| The method is aimed for deleting a certain status |[DeleteStatus](https://green-api.com/en/docs/api/statuses/DeleteStatus/)|
226
+
|`statuses.getStatusStatistic`| The method returns an array of recipients marked sent/delivered/read for a given status |[GetStatusStatistic](https://green-api.com/en/docs/api/statuses/GetStatusStatistic/)|
227
+
|`statuses.getOutgoingStatuses`| The method returns the outgoing statuses of the account |[GetOutgoingStatuses](https://green-api.com/en/docs/api/statuses/GetOutgoingStatuses/)|
228
+
|`statuses.getIncomingStatuses`| The method returns the incoming statuses of the account |[GetIncomingStatuses](https://green-api.com/en/docs/api/statuses/GetIncomingStatuses/)|
207
229
|`journals.getChatHistory`| The method returns the chat message history |[GetChatHistory](https://green-api.com/en/docs/api/journals/GetChatHistory/)|
208
230
|`journals.getMessage`| The method returns a chat message |[GetMessage](https://green-api.com/en/docs/api/journals/GetMessage/)|
209
231
|`journals.lastIncomingMessages`| The method returns the most recent incoming messages of the account |[LastIncomingMessages](https://green-api.com/en/docs/api/journals/LastIncomingMessages/)|
0 commit comments