SetChatTitle constructor

const SetChatTitle({
  1. required int chatId,
  2. required String title,
})

Changes the chat title. Supported only for basic groups, supergroups and channels. Requires can_change_info administrator right

Implementation

const SetChatTitle({
  required this.chatId,
  required this.title,
});