CheckBotUsername constructor

const CheckBotUsername({
  1. required String username,
  2. required bool isSecondary,
})

Checks whether a username can be set for a new bot or assigned as a secondary username to an existing bot. Use checkChatUsername to check username for other chat types

Implementation

const CheckBotUsername({required this.username, required this.isSecondary});