new: add missed answer_poll and reply_poll (#384)

This commit is contained in:
Ramzan Bekbulatov 2020-07-13 15:28:38 +03:00 committed by GitHub
parent caa0fe69d0
commit d2cf737919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 160 additions and 0 deletions

View file

@ -886,6 +886,8 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin):
Use this method to send a native poll. A native poll can't be sent to a private chat.
On success, the sent Message is returned.
Source: https://core.telegram.org/bots/api#sendpoll
:param chat_id: Unique identifier for the target chat
or username of the target channel (in the format @channelusername).
A native poll can't be sent to a private chat.