Telegram.Bot v15.3.0 Release Notes
Release Date: 2020-01-31 // about 4 years ago-
➕ Added
- Type
KeyboardButtonPollType
- Static method
KeyboardButton.WithRequestPoll
- Type
PollAnswer
- Property
KeyboardButton.RequestPoll
- Enum
PollType
- Property
MessageEntity.Language
- 📊 Following properties to type
Poll
:bool? IsAnonymous
string Type
bool? AllowsMultipleAnswers
int? CorrectOptionId
- Following properties to type
SendPollRequest
:bool? IsAnonymous
string Type
bool? AllowsMultipleAnswers
int? CorrectOptionId
bool? IsClosed
- ⚡️ Property
Update.PollAnswer
- ⚡️ Enum member
UpdateType.PollAnswer
- Following properties to type
User
:bool? CanJoinGroups
bool? CanReadAllGroupMessages
bool? SupportsInlineQueries
🔄 Changed
- Method
ITelegramBotClient.SendPollAsync
, added following optional parameters:bool? isAnonymous
string type
bool? allowsMultipleAnswers
int? correctOptionId
bool? isClosed
- Method
User.Equals
takes into account new properties
- Type