1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-29 13:38:43 +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) { return when (sticker) {
is MultipartFile -> CommonMultipartFileRequest( is MultipartFile -> CommonMultipartFileRequest(
data, data,
mapOf(pngStickerField to sticker) mapOf(tgsStickerField to sticker)
) )
is FileId -> data is FileId -> data
} }

View File

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

View File

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

View File

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