Layer 227
method Users
messages.updateDialogFilter#1ad4a04a flags:# id:int filter:flags.0?DialogFilter = Bool;

Parameters

Name Type Description
Id int Folder ID
Filter flags .0? DialogFilter Folder info

Returns

Bool

Gogram Example

// MessagesUpdateDialogFilter - positional arguments
result, err := client.MessagesUpdateDialogFilter(42, nil)
if err != nil {
    // handle error
}
// result is *tg.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 MESSAGE_TOO_LONG The provided message is too long.
400 MSG_ID_INVALID Invalid message ID provided.
400 PEER_ID_INVALID The provided peer id is invalid.