1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-29 13:38:43 +00:00

small refactor in PinChatMessage

This commit is contained in:
InsanusMokrassar 2020-02-06 23:17:55 +06:00
parent 69f81785bf
commit 02fa83c92a

View File

@ -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,