1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-25 19:48: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,
message: Message,
disableNotification: Boolean = false
) = execute(PinChatMessage(chatId, message.messageId, disableNotification))
) = pinChatMessage(chatId, message.messageId, disableNotification)
suspend fun RequestsExecutor.pinChatMessage(
chat: PublicChat,