getForumTopicIconStickers method

Future<List<Sticker>> getForumTopicIconStickers()

Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user.

Requires no parameters.

Returns an Array of Sticker objects.

https://core.telegram.org/bots/api#getforumtopiciconstickers

Implementation

Future<List<Sticker>> getForumTopicIconStickers() async {
  var requestUrl = _apiUri('getForumTopicIconStickers');
  return (await HttpClient.httpPost(requestUrl))
      .map<Sticker>((sticker) => Sticker.fromJson(sticker))
      .toList();
}