Skip to content

Commit 5821c4c

Browse files
committed
Fixed documentation
1 parent d0260af commit 5821c4c

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,7 @@ print(response.data)
171171

172172
### Sending a text status
173173

174-
Link to example: [sendTextStatus.py](
175-
https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/sendTextStatus.py
176-
).
174+
Link to example: [sendTextStatus.py](https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/statusesMethods/sendTextStatus.py).
177175

178176
```
179177
response = greenAPI.statuses.sendTextStatus(

docs/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,20 @@ response = greenAPI.sending.sendPoll(
153153
print(response.data)
154154
```
155155

156+
## Отправка текстового статуса
157+
158+
Ссылка на пример: [sendPoll.py](https://github.com/green-api/whatsapp-api-client-python/blob/master/examples/statusesMethods/sendTextStatus.py).
159+
160+
```
161+
response = greenAPI.statuses.sendTextStatus(
162+
"I sent this status using Green Api Python SDK!",
163+
"#54c774",
164+
"NORICAN_REGULAR"
165+
)
166+
167+
print(response.data)
168+
```
169+
156170
## Список примеров
157171

158172
| Описание | Модуль |

0 commit comments

Comments
 (0)