telegram api method · layer 229 · #653db63d
chatlists.editExportedInvite
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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
chatlist | InputChatlist | Folder ID |
slug | string | slug obtained from the chat folder deep link ». |
title | string | If set, sets a new name for the link |
peers | Vector<InputPeer> | If set, changes the list of peers shared with the link |
returns
errors (8)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This 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. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | FILTER_ID_INVALID | The specified filter ID is invalid. |
| 400 | FILTER_NOT_SUPPORTED | The specified filter cannot be used in this context. |
| 400 | INVITE_SLUG_EMPTY | The specified invite slug is empty. |
| 400 | INVITE_SLUG_EXPIRED | The specified chat folder link has expired. |
| 400 | PEERS_LIST_EMPTY | The specified list of peers is empty. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 158–229
| id | layers |
|---|---|
| #653db63d | 158–229 |