mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 03:58:44 +00:00
isAnonymous support
This commit is contained in:
parent
ff34b23777
commit
f835167f66
@ -58,6 +58,7 @@
|
|||||||
* `CommonGroupMessage` - just common message
|
* `CommonGroupMessage` - just common message
|
||||||
* `PrivateMessage` - works like previous `CommonMessageImpl`
|
* `PrivateMessage` - works like previous `CommonMessageImpl`
|
||||||
* Previous `CommonMessageImpl` safely renamed to `PrivateMessageImpl`
|
* Previous `CommonMessageImpl` safely renamed to `PrivateMessageImpl`
|
||||||
|
* New property `PromoteChatMember#isAnonymous`
|
||||||
* `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`
|
||||||
|
@ -14,6 +14,8 @@ data class PromoteChatMember(
|
|||||||
override val userId: UserId,
|
override val userId: UserId,
|
||||||
@SerialName(untilDateField)
|
@SerialName(untilDateField)
|
||||||
override val untilDate: TelegramDate? = null,
|
override val untilDate: TelegramDate? = null,
|
||||||
|
@SerialName(isAnonymousField)
|
||||||
|
private val isAnonymous: Boolean? = null,
|
||||||
@SerialName(canChangeInfoField)
|
@SerialName(canChangeInfoField)
|
||||||
private val canChangeInfo: Boolean? = null,
|
private val canChangeInfo: Boolean? = null,
|
||||||
@SerialName(canPostMessagesField)
|
@SerialName(canPostMessagesField)
|
||||||
|
Loading…
Reference in New Issue
Block a user