messages.updateDialogFilter #

Update folder

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.updateDialogFilter#1ad4a04a flags:# id:int filter:flags.0?DialogFilter = Bool;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
idintFolder ID
filterflags.0?DialogFilterFolder info

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHATLIST_EXCLUDE_INVALIDThe specified exclude_peers are invalid.
400CHAT_ID_INVALIDThe provided chat id is invalid.
400FILTER_ID_INVALIDThe specified filter ID is invalid.
400FILTER_INCLUDE_EMPTYThe include_peers vector of the filter is empty.
400FILTER_TITLE_EMPTYThe title field of the filter is empty.
400MESSAGE_TOO_LONGThe provided message is too long.
400MSG_ID_INVALIDInvalid message ID provided.
400PEER_ID_INVALIDThe provided peer id is invalid.

Dialog folders #

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