haskell-tdlib-2.1.26.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.AddBotSecondaryUsername

Synopsis

Documentation

data AddBotSecondaryUsername Source #

Adds a secondary username to a bot. Can be called only if userTypeBot.can_be_edited, the bot has no secondary username and the current user has Telegram Premium subscription. May return an error with a message OWNER_USERNAMES_LIMIT_EXCEEDED if the current user already owns at least getOption("secondary_bot_username_count_max") bots with a secondary username. Returns Ok

Constructors

AddBotSecondaryUsername 

Fields