ᅠ
Size: a a a
ᅠ
D
if is_animated:
await bot.add_sticker_to_set(user_id, set_name, emojis, tgs_sticker=sticker_inject)
else:
await bot.add_sticker_to_set(user_id, set_name, emojis, png_sticker=sticker_inject)
Я
хочу задавать tgs_sticker
и png_sticker
одной переменнойD
D
PP
tgs_st
= tgs_sticker
, png_sticker
PP
D
PP
D
DK
D
PP
D
PP
tgs_sticker
= my_tupleD
D
PP
tgs_sticker (base.InputFile) – TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements
D
D
if is_animated:
where = "tgs_sticker"
else:
where = "png_sticker"
await bot.add_sticker_to_set(user_id, set_name, emojis, where=sticker_inject)
D