setStickerKeywords method
Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot.
Returns True on success.
Implementation
Future<bool> setStickerKeywords(
String sticker, List<String>? keywords) async {
var requestUrl = _apiUri('setStickerKeywords');
var body = <String, dynamic>{
'sticker': sticker,
'keywords': keywords == null ? null : jsonEncode(keywords),
};
return await HttpClient.httpPost(requestUrl, body: body);
}