MessagesFilter#
- class pyrogram.enums.MessagesFilter#
Messages filter enumeration used in
search_messages()
andsearch_global()
- EMPTY = <class 'pyrogram.raw.types.input_messages_filter_empty.InputMessagesFilterEmpty'>#
Empty filter (any kind of messages)
- PHOTO = <class 'pyrogram.raw.types.input_messages_filter_photos.InputMessagesFilterPhotos'>#
Photo messages
- VIDEO = <class 'pyrogram.raw.types.input_messages_filter_video.InputMessagesFilterVideo'>#
Video messages
- PHOTO_VIDEO = <class 'pyrogram.raw.types.input_messages_filter_photo_video.InputMessagesFilterPhotoVideo'>#
Photo and video messages
- DOCUMENT = <class 'pyrogram.raw.types.input_messages_filter_document.InputMessagesFilterDocument'>#
Document messages
- URL = <class 'pyrogram.raw.types.input_messages_filter_url.InputMessagesFilterUrl'>#
Messages containing URLs
- ANIMATION = <class 'pyrogram.raw.types.input_messages_filter_gif.InputMessagesFilterGif'>#
Animation messages
- VOICE_NOTE = <class 'pyrogram.raw.types.input_messages_filter_voice.InputMessagesFilterVoice'>#
Voice note messages
- VIDEO_NOTE = <class 'pyrogram.raw.types.input_messages_filter_round_video.InputMessagesFilterRoundVideo'>#
Video note messages
- AUDIO_VIDEO_NOTE = <class 'pyrogram.raw.types.input_messages_filter_round_video.InputMessagesFilterRoundVideo'>#
Audio and video note messages
- AUDIO = <class 'pyrogram.raw.types.input_messages_filter_music.InputMessagesFilterMusic'>#
Audio messages (music)
- CHAT_PHOTO = <class 'pyrogram.raw.types.input_messages_filter_chat_photos.InputMessagesFilterChatPhotos'>#
Chat photo messages
- PHONE_CALL = <class 'pyrogram.raw.types.input_messages_filter_phone_calls.InputMessagesFilterPhoneCalls'>#
Phone call messages
- MENTION = <class 'pyrogram.raw.types.input_messages_filter_my_mentions.InputMessagesFilterMyMentions'>#
Messages containing mentions
- LOCATION = <class 'pyrogram.raw.types.input_messages_filter_geo.InputMessagesFilterGeo'>#
Location messages
- CONTACT = <class 'pyrogram.raw.types.input_messages_filter_contacts.InputMessagesFilterContacts'>#
Contact messages
- PINNED = <class 'pyrogram.raw.types.input_messages_filter_pinned.InputMessagesFilterPinned'>#
Pinned messages