1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-26 10:37:13 +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,