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

TD.Query.ToggleBotUsernameIsActive

Synopsis

Documentation

data ToggleBotUsernameIsActive Source #

Changes active state for a username of a bot. The editable username can be disabled only if there are other active usernames. May return an error with a message USERNAMES_ACTIVE_TOO_MUCH if the maximum number of active usernames has been reached. Can be called only if userTypeBot.can_be_edited == true. Returns Ok

Constructors

ToggleBotUsernameIsActive 

Fields