1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00
This commit is contained in:
InsanusMokrassar 2022-02-01 23:05:47 +06:00
parent fba6707f44
commit 6426ed6571
4 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ fun AddAnimatedStickerToSet(
return when (sticker) {
is MultipartFile -> CommonMultipartFileRequest(
data,
mapOf(pngStickerField to sticker)
mapOf(tgsStickerField to sticker)
)
is FileId -> data
}

View File

@ -18,7 +18,7 @@ fun AddVideoStickerToSet(
return when (sticker) {
is MultipartFile -> CommonMultipartFileRequest(
data,
mapOf(pngStickerField to sticker)
mapOf(webmStickerField to sticker)
)
is FileId -> data
}

View File

@ -21,7 +21,7 @@ fun CreateNewAnimatedStickerSet(
return when (sticker) {
is MultipartFile -> CommonMultipartFileRequest(
data,
mapOf(pngStickerField to sticker)
mapOf(tgsStickerField to sticker)
)
is FileId -> data
}

View File

@ -21,7 +21,7 @@ fun CreateNewVideoStickerSet(
return when (sticker) {
is MultipartFile -> CommonMultipartFileRequest(
data,
mapOf(pngStickerField to sticker)
mapOf(webmStickerField to sticker)
)
is FileId -> data
}