CreateBot constructor
const
CreateBot({})
Creates a bot which will be managed by another bot. Returns the created bot. May return an error with a message "BOT_CREATE_LIMIT_EXCEEDED" if the user already owns the maximum allowed number of bots as per getOption("owned_bot_count_max"). An internal link "https://t.me/BotFather?start=deletebot" can be processed to handle the error
Implementation
const CreateBot({
required this.managerBotUserId,
required this.name,
required this.username,
required this.viaLink,
});