getMyDescription method

Future<BotDescription> getMyDescription(
  1. String languageCode
)

Use this method to get the current bot description for the given user language.

Returns BotDescription on success.

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

Implementation

Future<BotDescription> getMyDescription(String languageCode) async {
  var requestUrl = _apiUri('getMyDescription');
  var body = <String, dynamic>{
    'language_code': languageCode,
  };
  return BotDescription.fromJson(
      await HttpClient.httpPost(requestUrl, body: body));
}