Struct tg_bot_models::SendVenue[][src]

pub struct SendVenue {
    pub chat_id: PolymorphChatId,
    pub latitude: f64,
    pub longitude: f64,
    pub title: String,
    pub address: String,
    pub foursquare_id: Option<String>,
    pub foursquare_type: Option<String>,
    pub disable_notification: Option<bool>,
    pub reply_to_message_id: Option<i64>,
    pub reply_markup: Option<PolymorphReplyMarkup>,
}

Use this method to send information about a venue. On success, the sent Message is returned.

Fields

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Latitude of the venue

Longitude of the venue

Name of the venue

Address of the venue

Foursquare identifier of the venue

Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)

Sends the message silently. Users will receive a notification with no sound.

If the message is a reply, ID of the original message

Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

Trait Implementations

impl Debug for SendVenue
[src]

Formats the value using the given formatter. Read more

impl Clone for SendVenue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SendVenue
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for SendVenue
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

impl Send for SendVenue

impl Sync for SendVenue