SetBotName constructor

const SetBotName({
  1. required int botUserId,
  2. required String languageCode,
  3. required String name,
})

Sets the name of a bot. Can be called only if userTypeBot.can_be_edited == true

Implementation

const SetBotName({
  required this.botUserId,
  required this.languageCode,
  required this.name,
});