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,
|
||||
message: Message,
|
||||
disableNotification: Boolean = false
|
||||
) = execute(PinChatMessage(chatId, message.messageId, disableNotification))
|
||||
) = pinChatMessage(chatId, message.messageId, disableNotification)
|
||||
|
||||
suspend fun RequestsExecutor.pinChatMessage(
|
||||
chat: PublicChat,
|
||||
|
Loading…
Reference in New Issue
Block a user