MessagesFilter

class pyrogram.raw.base.MessagesFilter

Object describes message filter.

Constructors:

This base type has 17 constructors available.

InputMessagesFilterChatPhotos

Return only chat photo changes

InputMessagesFilterContacts

Return only messages containing contacts

InputMessagesFilterDocument

Filter for messages containing documents.

InputMessagesFilterEmpty

Filter is absent.

InputMessagesFilterGeo

Return only messages containing geolocations

InputMessagesFilterGif

Return only messages containing gifs

InputMessagesFilterMusic

Return only messages containing audio files

InputMessagesFilterMyMentions

Return only messages where the current user was mentioned.

InputMessagesFilterPhoneCalls

Return only phone calls

InputMessagesFilterPhotoVideo

Filter for messages containing photos or videos.

InputMessagesFilterPhotos

Filter for messages containing photos.

InputMessagesFilterPinned

Fetch only pinned messages

InputMessagesFilterRoundVideo

Return only round videos

InputMessagesFilterRoundVoice

Return only round videos and voice notes

InputMessagesFilterUrl

Return only messages containing URLs

InputMessagesFilterVideo

Filter for messages containing videos.

InputMessagesFilterVoice

Return only messages containing voice notes