2020-02-15 09:33:04 +00:00
|
|
|
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.send.media
|
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.bot.TelegramBot
|
2020-03-22 10:04:11 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.InputFile
|
2020-02-15 09:33:04 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.send.media.SendSticker
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.ChatIdentifier
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.MessageIdentifier
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.buttons.KeyboardMarkup
|
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
suspend fun TelegramBot.sendSticker(
|
2020-02-15 09:33:04 +00:00
|
|
|
chatId: ChatIdentifier,
|
2020-02-23 15:29:31 +00:00
|
|
|
sticker: InputFile,
|
2020-02-15 09:33:04 +00:00
|
|
|
disableNotification: Boolean = false,
|
|
|
|
replyToMessageId: MessageIdentifier? = null,
|
|
|
|
replyMarkup: KeyboardMarkup? = null
|
|
|
|
) = execute(
|
|
|
|
SendSticker(chatId, sticker, disableNotification, replyToMessageId, replyMarkup)
|
|
|
|
)
|