setMyName method
Use this method to change the bot's name.
Returns True on success.
Implementation
Future<bool> setMyName(String name, String languageCode) async {
var requestUrl = _apiUri('setMyName');
var body = <String, dynamic>{
'name': name,
'language_code': languageCode,
};
return await HttpClient.httpPost(requestUrl, body: body);
}