telegram api method · layer 229 · #f743b857

messages.editChatCreator

usable by users and bots

definition

messages.editChatCreator#f743b857 peer:InputPeer user_id:InputUser password:InputCheckPasswordSRP = Updates;

parameters

nametypedescription
peerInputPeer
user_idInputUser
passwordInputCheckPasswordSRP

returns

Updates

errors (16)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400CHANNELS_ADMIN_PUBLIC_TOO_MUCHYou're admin of too many public channels, make some channels private to change the username of this channel.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CHAT_MEMBER_ADD_FAILEDCould not add participants.
400INPUT_USER_DEACTIVATEDThe specified user was deleted.
400PASSWORD_HASH_INVALIDThe provided password hash is invalid.
400PASSWORD_MISSINGYou must enable 2FA before executing this operation.
400PASSWORD_TOO_FRESH_%dThe password was modified less than 24 hours ago, try again in %d seconds.
400SESSION_TOO_FRESH_%dThis session was created less than 24 hours ago, try again in %d seconds.
400SRP_ID_INVALIDInvalid SRP ID provided.
400USER_NOT_MUTUAL_CONTACTThe provided user is not a mutual contact.
400USERS_TOO_MUCHThe maximum number of users has been exceeded (to create a chat, for example).
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403USER_CHANNELS_TOO_MUCHOne of the users you tried to add is already in too many channels/supergroups.
403USER_PRIVACY_RESTRICTEDThe user's privacy settings do not allow you to do this.

history

present in layers 223–229

idlayers
#f743b857223–229