getStickerSet method

Future<StickerSet> getStickerSet(
  1. String name
)

Use this method to get a sticker set

On success, a StickerSet object is returned.

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

Implementation

Future<StickerSet> getStickerSet(String name) async {
  var requestUrl = _apiUri('getStickerSet');
  var body = <String, dynamic>{'name': name};
  return StickerSet.fromJson(
      await HttpClient.httpPost(requestUrl, body: body));
}