addStickerToSetWebm method

Future<bool> addStickerToSetWebm(
  1. String userId,
  2. String name,
  3. HttpFile webmSticker,
  4. String emojis, {
  5. MaskPosition? maskPosition,
})
inherited

Use this method to add a new sticker to a set created by the bot.

Animated stickers can be added to animated sticker sets and only to them.

Animated sticker sets can have up to 50 stickers.

Static sticker sets can have up to 120 stickers.

Returns True on success.

Implementation

Future<bool> addStickerToSetWebm(
  String userId,
  String name,
  HttpFile webmSticker,
  String emojis, {
  MaskPosition? maskPosition,
}) {
  return _client.apiCall(_token, 'addStickerToSet', {
    'user_id': userId,
    'name': name,
    'webm_sticker': webmSticker,
    'emojis': emojis,
    'mask_position': maskPosition,
  });
}