[][src]Struct telegrambot::vision::VCallbackQuery

pub struct VCallbackQuery {
    pub id: String,
    pub from: User,
    pub message: PossibilityMessage,
    pub chat_instance: String,
    pub data: String,
}

Fields

id: String

Unique identifier for this query

from: User

Sender

message: PossibilityMessage

Message with the callback button that originated the query. Note that message content and message date will not be available if the message is too old

chat_instance: String

Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.

data: String

Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.

Trait Implementations

impl PartialOrd<VCallbackQuery> for VCallbackQuery[src]

impl PartialEq<VCallbackQuery> for VCallbackQuery[src]

impl Clone for VCallbackQuery[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for VCallbackQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err