This commit is contained in:
InsanusMokrassar committed 2022-02-01 23:05:47 +06:00
1 parent fba6707f44
commit 6426ed6571
4 files changed
+4 -4

No files matched your search

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