Struct tg_botapi::methods::SendContact [−][src]
pub struct SendContact {
pub chat_id: ChatId,
pub phone_number: String,
pub first_name: String,
pub last_name: Option<String>,
pub vcard: Option<String>,
pub disable_notification: Option<bool>,
pub reply_to_message_id: Option<i64>,
pub reply_markup: Option<ReplyMarkup>,
}
Fields
chat_id: ChatId
phone_number: String
first_name: String
last_name: Option<String>
vcard: Option<String>
disable_notification: Option<bool>
reply_to_message_id: Option<i64>
reply_markup: Option<ReplyMarkup>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SendContact
impl Send for SendContact
impl Sync for SendContact
impl Unpin for SendContact
impl UnwindSafe for SendContact
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more