Enum rtdlib::types::SearchMessagesFilter[][src]

Expand description

Represents a filter for message search results

Variants

Animation

Returns only animation messages

Tuple Fields of Animation

0: SearchMessagesFilterAnimation
Audio

Returns only audio messages

Tuple Fields of Audio

0: SearchMessagesFilterAudio
Call

Returns only call messages

Tuple Fields of Call

0: SearchMessagesFilterCall
ChatPhoto

Returns only messages containing chat photos

Tuple Fields of ChatPhoto

0: SearchMessagesFilterChatPhoto
Document

Returns only document messages

Tuple Fields of Document

0: SearchMessagesFilterDocument
Empty

Returns all found messages, no filter is applied

Tuple Fields of Empty

0: SearchMessagesFilterEmpty
Mention

Returns only messages with mentions of the current user, or messages that are replies to their messages

Tuple Fields of Mention

0: SearchMessagesFilterMention
MissedCall

Returns only incoming call messages with missed/declined discard reasons

Tuple Fields of MissedCall

0: SearchMessagesFilterMissedCall
Photo

Returns only photo messages

Tuple Fields of Photo

0: SearchMessagesFilterPhoto
PhotoAndVideo

Returns only photo and video messages

Tuple Fields of PhotoAndVideo

0: SearchMessagesFilterPhotoAndVideo
UnreadMention

Returns only messages with unread mentions of the current user, or messages that are replies to their messages. When using this filter the results can’t be additionally filtered by a query or by the sending user

Tuple Fields of UnreadMention

0: SearchMessagesFilterUnreadMention
Url

Returns only messages containing URLs

Tuple Fields of Url

0: SearchMessagesFilterUrl
Video

Returns only video messages

Tuple Fields of Video

0: SearchMessagesFilterVideo
VideoNote

Returns only video note messages

Tuple Fields of VideoNote

0: SearchMessagesFilterVideoNote
VoiceAndVideoNote

Returns only voice and video note messages

Tuple Fields of VoiceAndVideoNote

0: SearchMessagesFilterVoiceAndVideoNote
VoiceNote

Returns only voice note messages

Tuple Fields of VoiceNote

0: SearchMessagesFilterVoiceNote

Implementations

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Return td type to json string

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.