setStickerSetTitle method

Future<bool> setStickerSetTitle(
  1. String name,
  2. String title
)

Use this method to set the title of a created sticker set.

Returns True on success.

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

Implementation

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