mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 03:58:44 +00:00
small refactor in PinChatMessage
This commit is contained in:
parent
69f81785bf
commit
02fa83c92a
@ -42,7 +42,7 @@ suspend fun RequestsExecutor.pinChatMessage(
|
|||||||
chatId: ChatIdentifier,
|
chatId: ChatIdentifier,
|
||||||
message: Message,
|
message: Message,
|
||||||
disableNotification: Boolean = false
|
disableNotification: Boolean = false
|
||||||
) = execute(PinChatMessage(chatId, message.messageId, disableNotification))
|
) = pinChatMessage(chatId, message.messageId, disableNotification)
|
||||||
|
|
||||||
suspend fun RequestsExecutor.pinChatMessage(
|
suspend fun RequestsExecutor.pinChatMessage(
|
||||||
chat: PublicChat,
|
chat: PublicChat,
|
||||||
|
Loading…
Reference in New Issue
Block a user