2020-10-04 10:57:39 +00:00
|
|
|
package dev.inmo.tgbotapi.extensions.api.stickers
|
2020-02-15 09:33:04 +00:00
|
|
|
|
2020-10-04 11:06:30 +00:00
|
|
|
import dev.inmo.tgbotapi.bot.TelegramBot
|
|
|
|
import dev.inmo.tgbotapi.requests.abstracts.FileId
|
|
|
|
import dev.inmo.tgbotapi.requests.stickers.SetStickerPositionInSet
|
2022-02-01 10:23:26 +00:00
|
|
|
import dev.inmo.tgbotapi.types.files.sticker.Sticker
|
2020-02-15 09:33:04 +00:00
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
suspend fun TelegramBot.setStickerPositionInSet(
|
2020-02-15 09:33:04 +00:00
|
|
|
sticker: FileId,
|
|
|
|
position: Int
|
|
|
|
) = execute(
|
|
|
|
SetStickerPositionInSet(
|
|
|
|
sticker,
|
|
|
|
position
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
suspend fun TelegramBot.setStickerPositionInSet(
|
2020-02-15 09:33:04 +00:00
|
|
|
sticker: Sticker,
|
|
|
|
position: Int
|
|
|
|
) = setStickerPositionInSet(
|
|
|
|
sticker.fileId,
|
|
|
|
position
|
|
|
|
)
|