Trait teloxide_core::payloads::SendContactSetters [−][src]
Setters for fields of SendContact
Provided methods
fn chat_id<T>(self, value: T) -> Self where
T: Into<ChatId>,
[src]
T: Into<ChatId>,
Setter for chat_id
field.
fn phone_number<T>(self, value: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
Setter for phone_number
field.
fn first_name<T>(self, value: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
Setter for first_name
field.
fn last_name<T>(self, value: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
Setter for last_name
field.
fn vcard<T>(self, value: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
Setter for vcard
field.
fn disable_notification(self, value: bool) -> Self
[src]
Setter for disable_notification
field.
fn reply_to_message_id(self, value: i32) -> Self
[src]
Setter for reply_to_message_id
field.
fn allow_sending_without_reply(self, value: bool) -> Self
[src]
Setter for allow_sending_without_reply
field.
fn reply_markup<T>(self, value: T) -> Self where
T: Into<ReplyMarkup>,
[src]
T: Into<ReplyMarkup>,
Setter for reply_markup
field.
Implementors
impl<P> SendContactSetters for P where
P: HasPayload<Payload = SendContact>,
[src]
P: HasPayload<Payload = SendContact>,