messages.updateDialogFilter

Update folder

 Method schema is available as of layer 111. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
id int Folder ID
filter flags.0?DialogFilter Folder info

Result

Bool

Possible errors

Code Type Description
400 CHATLIST_EXCLUDE_INVALID The specified exclude_peers are invalid.
400 CHAT_ID_INVALID The provided chat id is invalid.
400 FILTER_ID_INVALID The specified filter ID is invalid.
400 FILTER_INCLUDE_EMPTY The include_peers vector of the filter is empty.
400 FILTER_TITLE_EMPTY The title field of the filter is empty.
400 MSG_ID_INVALID Invalid message ID provided.
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Folders

Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.