telegram api method · layer 229 · #653db63d

chatlists.editExportedInvite

usable by users

Edit a chat folder deep link ».

definition

chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite;

parameters

nametypedescription
flags#Flags, see TL conditional fields
chatlistInputChatlistFolder ID
slugstringslug obtained from the chat folder deep link ».
titleflags.1?stringIf set, sets a new name for the link
peersflags.2?Vector<InputPeer>If set, changes the list of peers shared with the link

returns

ExportedChatlistInvite

errors (8)

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_INVALIDThe provided channel is invalid.
400FILTER_ID_INVALIDThe specified filter ID is invalid.
400FILTER_NOT_SUPPORTEDThe specified filter cannot be used in this context.
400INVITE_SLUG_EMPTYThe specified invite slug is empty.
400INVITE_SLUG_EXPIREDThe specified chat folder link has expired.
400PEERS_LIST_EMPTYThe specified list of peers is empty.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 158–229

idlayers
#653db63d158–229