mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-05 08:09:21 +00:00
update pollQuestionTextLength
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
* `PositionedSendMessageRequest` now extends `Locationed`
|
* `PositionedSendMessageRequest` now extends `Locationed`
|
||||||
* `LocationContent#createResend` now can create `LiveLocation`
|
* `LocationContent#createResend` now can create `LiveLocation`
|
||||||
* Support of `ProximityAlertTriggered`. It is `CommonEvent`
|
* Support of `ProximityAlertTriggered`. It is `CommonEvent`
|
||||||
|
* Property `pollQuestionTextLength` now have maximum up to `300`
|
||||||
* `API`:
|
* `API`:
|
||||||
* Extensions `TelegramBot#pinChatMessage` now support any `Chat` and `Message`s from any `Chat`
|
* Extensions `TelegramBot#pinChatMessage` now support any `Chat` and `Message`s from any `Chat`
|
||||||
* New extensions `TelegramBot#unpinAllChatMessages`
|
* New extensions `TelegramBot#unpinAllChatMessages`
|
||||||
|
@@ -49,7 +49,7 @@ val invoiceDescriptionLimit = 1 until 256
|
|||||||
val invoicePayloadBytesLimit = 1 until 128
|
val invoicePayloadBytesLimit = 1 until 128
|
||||||
|
|
||||||
val pollOptionTextLength = 1 .. 100
|
val pollOptionTextLength = 1 .. 100
|
||||||
val pollQuestionTextLength = 1 until 256
|
val pollQuestionTextLength = 1 .. 300
|
||||||
val pollOptionsLimit = 2 .. 10
|
val pollOptionsLimit = 2 .. 10
|
||||||
|
|
||||||
val livePeriodLimit = 60 .. 86400
|
val livePeriodLimit = 60 .. 86400
|
||||||
|
Reference in New Issue
Block a user