setStickerSetThumb method

Future<bool> setStickerSetThumb(
  1. String name,
  2. String userId, {
  3. HttpFile? thumb,
})
inherited

Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Video thumbnails can be set only for video sticker sets only.

Returns True on success.

Implementation

Future<bool> setStickerSetThumb(
  String name,
  String userId, {
  HttpFile? thumb,
}) {
  return _client.apiCall(_token, 'setStickerSetThumb', {
    'user_id': userId,
    'name': name,
    'thumb': thumb,
  });
}