getCustomEmojiStickers method
Use this method to get information about custom emoji stickers by their identifiers.
Returns an Array of Sticker objects.
Implementation
Future<List<Sticker>> getCustomEmojiStickers(
List<String> customEmojiIds) async {
var requestUrl = _apiUri('getCustomEmojiStickers');
var body = <String, dynamic>{
'custom_emoji_ids': jsonEncode(customEmojiIds)
};
return (await HttpClient.httpPost(requestUrl, body: body))
.map<Sticker>((sticker) => Sticker.fromJson(sticker))
.toList();
}