mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
hotfixes in new media groups shortcuts
This commit is contained in:
parent
16f55d70af
commit
6073d914d5
@ -17,9 +17,9 @@ val List<MediaGroupMessage>.mediaGroupId: MediaGroupIdentifier?
|
|||||||
get() = firstOrNull() ?.mediaGroupId
|
get() = firstOrNull() ?.mediaGroupId
|
||||||
|
|
||||||
val SentMediaGroupUpdate.forwardInfo: ForwardInfo?
|
val SentMediaGroupUpdate.forwardInfo: ForwardInfo?
|
||||||
get() = data.forwardInfo!!
|
get() = data.first().forwardInfo
|
||||||
val SentMediaGroupUpdate.replyTo: Message?
|
val SentMediaGroupUpdate.replyTo: Message?
|
||||||
get() = data.replyTo
|
get() = data.first().replyTo
|
||||||
val SentMediaGroupUpdate.chat: Chat
|
val SentMediaGroupUpdate.chat: Chat
|
||||||
get() = data.chat!!
|
get() = data.chat!!
|
||||||
val SentMediaGroupUpdate.mediaGroupId: MediaGroupIdentifier
|
val SentMediaGroupUpdate.mediaGroupId: MediaGroupIdentifier
|
||||||
|
Loading…
Reference in New Issue
Block a user