mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-25 19:48:43 +00:00
Update DeleteMessage.kt
This commit is contained in:
parent
095e318a78
commit
95aeedfb94
@ -33,6 +33,10 @@ suspend fun TelegramBot.delete(
|
|||||||
messageId: MessageIdentifier
|
messageId: MessageIdentifier
|
||||||
) = deleteMessage(chat, messageId)
|
) = deleteMessage(chat, messageId)
|
||||||
|
|
||||||
|
suspend fun TelegramBot.delete(
|
||||||
|
message: Message
|
||||||
|
) = deleteMessage(message)
|
||||||
|
|
||||||
suspend fun Message.delete(
|
suspend fun Message.delete(
|
||||||
requestsExecutor: TelegramBot
|
requestsExecutor: TelegramBot
|
||||||
) = requestsExecutor.deleteMessage(this)
|
) = requestsExecutor.deleteMessage(this)
|
||||||
|
Loading…
Reference in New Issue
Block a user