getMyShortDescription method

Future<BotShortDescription> getMyShortDescription(
  1. String languageCode
)

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

Returns BotShortDescription on success.

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

Implementation

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