Bot API 4.6: Polls 2.0, misc. changes

This commit is contained in:
TJ Horner 2020-01-24 22:42:19 -05:00
parent 5ce2767dad
commit 5aaa0b2d03
4 changed files with 59 additions and 22 deletions

View file

@ -821,8 +821,9 @@ func NewPoll(chatID int64, question string, options ...string) SendPollConfig {
BaseChat: BaseChat{
ChatID: chatID,
},
Question: question,
Options: options,
Question: question,
Options: options,
IsAnonymous: true, // This is Telegram's default.
}
}