setChatDescription method

Future<bool> setChatDescription(
  1. ChatID chatId,
  2. String description
)
inherited

Use this method to change the description of a group, a supergroup or a channel.

The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.

Returns True on success.

Implementation

Future<bool> setChatDescription(ChatID chatId, String description) {
  return _client.apiCall(_token, 'setChatDescription', {
    'chat_id': chatId,
    'description': description,
  });
}