Struct telbot_types::message::ProximityAlertTriggered[][src]

pub struct ProximityAlertTriggered {
    pub traveler: User,
    pub watcher: User,
    pub distance: u32,
}
Expand description

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

Fields

traveler: User

User that triggered the alert

watcher: User

User that set the alert

distance: u32

The distance between the users

Trait Implementations

Deserialize this value from the given Serde deserializer. 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 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.