telegram api method · layer 229 · #1ad4a04a

messages.updateDialogFilter

usable by users

Update folder

definition

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

returns

Bool

errors (10)

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.
400CHAT_ID_INVALIDThe provided chat id is invalid.
400CHATLIST_EXCLUDE_INVALIDThe specified exclude_peers are 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.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 111–229

idlayers
#1ad4a04a111–229