messages.DialogFilters

class pyrogram.raw.base.messages.DialogFilters

Folder information

Constructors:

This base type has 1 constructor available.

messages.DialogFilters

Folder and folder tags information

Functions:

This object can be returned by 1 function.

messages.GetDialogFilters

Get folders

TL Schema

messages.dialogFilters#2ad93719
flags:#
tags_enabled:flags.0?true
filters:Vector<DialogFilter>

= messages.DialogFilters

Parameter Tree

DialogFilters
├── tags_enabledtrue (optional)
└── filtersVector < DialogFilter >
├── DialogFilter
│ ├── contactstrue (optional)
│ ├── non_contactstrue (optional)
│ ├── groupstrue (optional)
│ ├── broadcaststrue (optional)
│ ├── botstrue (optional)
│ ├── exclude_mutedtrue (optional)
│ ├── exclude_readtrue (optional)
│ ├── exclude_archivedtrue (optional)
│ ├── title_noanimatetrue (optional)
│ ├── idint
│ ├── titleTextWithEntities
│ │ └── TextWithEntities
│ │ ├── textstring
│ │ └── entitiesVector < MessageEntity >
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ └── MessageEntityFormattedDate
│ ├── emoticonstring (optional)
│ ├── colorint (optional)
│ ├── pinned_peersVector < InputPeer >
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ │ ├── user_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerChannel
│ │ │ ├── channel_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerUserFromMessage
│ │ │ ├── peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── msg_idint
│ │ │ └── user_idlong
│ │ └── InputPeerChannelFromMessage
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── channel_idlong
│ ├── include_peersVector < InputPeer >
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ │ ├── user_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerChannel
│ │ │ ├── channel_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerUserFromMessage
│ │ │ ├── peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── msg_idint
│ │ │ └── user_idlong
│ │ └── InputPeerChannelFromMessage
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── channel_idlong
│ └── exclude_peersVector < InputPeer >
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── has_my_invitestrue (optional)
├── title_noanimatetrue (optional)
├── idint
├── titleTextWithEntities
│ └── TextWithEntities
│ ├── textstring
│ └── entitiesVector < MessageEntity >
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
├── emoticonstring (optional)
├── colorint (optional)
├── pinned_peersVector < InputPeer >
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── include_peersVector < InputPeer >
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
├── InputPeerUser
│ ├── user_idlong
│ └── access_hashlong
│ ├── channel_idlong
│ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

DialogFilters(
    tags_enabled=None,
    filters=[
            DialogFilter(
                contacts=None,
                non_contacts=None,
                groups=None,
                broadcasts=None,
                bots=None,
                exclude_muted=None,
                exclude_read=None,
                exclude_archived=None,
                title_noanimate=None,
                id=0,
                title=TextWithEntities(
                    text="Open",
                    entities=[
                            MessageEntityUnknown(
                                offset=0,
                                length=0
                            )
                        ]
                ),
                emoticon=None,
                color=None,
                pinned_peers=[
                        await app.resolve_peer(chat_id)
                    ],
                include_peers=[
                        await app.resolve_peer(chat_id)
                    ],
                exclude_peers=[
                        await app.resolve_peer(chat_id)
                    ]
            )
        ],
)