messages.reorderPinnedDialogs #

Reorder pinned dialogs

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector<InputDialogPeer> = Bool;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
forceflags.0?trueIf set, dialogs pinned server-side but not present in the order field will be unpinned.
folder_idintPeer folder ID, for more info click here
orderVector<InputDialogPeer>New dialog order

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
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.