Struct teloxide::requests::JsonRequest
source · [−]pub struct JsonRequest<P> { /* private fields */ }Expand description
A ready-to-send Telegram request whose payload is sent using JSON.
Implementations
sourceimpl<P> JsonRequest<P>
impl<P> JsonRequest<P>
pub const fn new(bot: Bot, payload: P) -> JsonRequest<P>ⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Trait Implementations
sourceimpl<P> Clone for JsonRequest<P>where
P: Clone,
impl<P> Clone for JsonRequest<P>where
P: Clone,
sourcefn clone(&self) -> JsonRequest<P>ⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn clone(&self) -> JsonRequest<P>ⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<P> Deref for JsonRequest<P>where
P: Payload + Serialize,
impl<P> Deref for JsonRequest<P>where
P: Payload + Serialize,
type Target = P
type Target = P
The resulting type after dereferencing.
sourcefn deref(&self) -> &<JsonRequest<P> as Deref>::TargetⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn deref(&self) -> &<JsonRequest<P> as Deref>::TargetⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Dereferences the value.
sourceimpl<P> DerefMut for JsonRequest<P>where
P: Payload + Serialize,
impl<P> DerefMut for JsonRequest<P>where
P: Payload + Serialize,
sourcefn deref_mut(&mut self) -> &mut <JsonRequest<P> as Deref>::TargetⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn deref_mut(&mut self) -> &mut <JsonRequest<P> as Deref>::TargetⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Mutably dereferences the value.
sourceimpl<P> HasPayload for JsonRequest<P>where
P: Payload,
impl<P> HasPayload for JsonRequest<P>where
P: Payload,
type Payload = P
type Payload = P
The type of the payload contained.
sourcefn payload_mut(&mut self) -> &mut <JsonRequest<P> as HasPayload>::PayloadⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn payload_mut(&mut self) -> &mut <JsonRequest<P> as HasPayload>::PayloadⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Gain mutable access to the underlying payload.
sourcefn payload_ref(&self) -> &<JsonRequest<P> as HasPayload>::PayloadⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn payload_ref(&self) -> &<JsonRequest<P> as HasPayload>::PayloadⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Gain immutable access to the underlying payload.
sourcefn with_payload_mut<F>(self, f: F) -> Selfwhere
F: FnOnce(&mut Self::Payload),
fn with_payload_mut<F>(self, f: F) -> Selfwhere
F: FnOnce(&mut Self::Payload),
Update payload with a function
sourceimpl<P> IntoFuture for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned,
impl<P> IntoFuture for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned,
type Output = Result<<P as Payload>::Output, RequestError>
type Output = Result<<P as Payload>::Output, RequestError>
The output that the future will produce on completion.
type IntoFuture = <JsonRequest<P> as Request>::Send
type IntoFuture = <JsonRequest<P> as Request>::Send
Which kind of future are we turning this into?
sourcefn into_future(self) -> <JsonRequest<P> as IntoFuture>::IntoFutureⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn into_future(self) -> <JsonRequest<P> as IntoFuture>::IntoFutureⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Creates a future from a value. Read more
sourceimpl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned,
impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned,
type Err = RequestError
type Err = RequestError
The type of an error that may happen while sending a request to
Telegram. Read more
sourcefn send(self) -> <JsonRequest<P> as Request>::SendⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn send(self) -> <JsonRequest<P> as Request>::SendⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Send this request. Read more
sourcefn send_ref(&self) -> <JsonRequest<P> as Request>::SendRefⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
fn send_ref(&self) -> <JsonRequest<P> as Request>::SendRefⓘNotable traits for JsonRequest<P>impl<P> Request for JsonRequest<P>where
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
P: 'static + Payload + Serialize,
<P as Payload>::Output: DeserializeOwned, type Err = RequestError; type Send = Send<P>; type SendRef = SendRef<P>;
Send this request by reference. Read more
sourcefn erase<'a>(self) -> ErasedRequest<'a, Self::Payload, Self::Err>ⓘNotable traits for ErasedRequest<'a, T, E>impl<'a, T, E> Request for ErasedRequest<'a, T, E>where
T: Payload,
E: Error + Send, type Err = E; type Send = Pin<Box<dyn Future<Output = Result<<<ErasedRequest<'a, T, E> as HasPayload>::Payload as Payload>::Output, <ErasedRequest<'a, T, E> as Request>::Err>> + Send + 'a, Global>>; type SendRef = Pin<Box<dyn Future<Output = Result<<<ErasedRequest<'a, T, E> as HasPayload>::Payload as Payload>::Output, <ErasedRequest<'a, T, E> as Request>::Err>> + Send + 'a, Global>>;where
Self: 'a,
fn erase<'a>(self) -> ErasedRequest<'a, Self::Payload, Self::Err>ⓘNotable traits for ErasedRequest<'a, T, E>impl<'a, T, E> Request for ErasedRequest<'a, T, E>where
T: Payload,
E: Error + Send, type Err = E; type Send = Pin<Box<dyn Future<Output = Result<<<ErasedRequest<'a, T, E> as HasPayload>::Payload as Payload>::Output, <ErasedRequest<'a, T, E> as Request>::Err>> + Send + 'a, Global>>; type SendRef = Pin<Box<dyn Future<Output = Result<<<ErasedRequest<'a, T, E> as HasPayload>::Payload as Payload>::Output, <ErasedRequest<'a, T, E> as Request>::Err>> + Send + 'a, Global>>;where
Self: 'a,
T: Payload,
E: Error + Send, type Err = E; type Send = Pin<Box<dyn Future<Output = Result<<<ErasedRequest<'a, T, E> as HasPayload>::Payload as Payload>::Output, <ErasedRequest<'a, T, E> as Request>::Err>> + Send + 'a, Global>>; type SendRef = Pin<Box<dyn Future<Output = Result<<<ErasedRequest<'a, T, E> as HasPayload>::Payload as Payload>::Output, <ErasedRequest<'a, T, E> as Request>::Err>> + Send + 'a, Global>>;
Available on crate feature
erased only.Auto Trait Implementations
impl<P> !RefUnwindSafe for JsonRequest<P>
impl<P> Send for JsonRequest<P>where
P: Send,
impl<P> Sync for JsonRequest<P>where
P: Sync,
impl<P> Unpin for JsonRequest<P>where
P: Unpin,
impl<P> !UnwindSafe for JsonRequest<P>
Blanket Implementations
sourceimpl<P> AddStickerToSetSetters for Pwhere
P: HasPayload<Payload = AddStickerToSet>,
impl<P> AddStickerToSetSetters for Pwhere
P: HasPayload<Payload = AddStickerToSet>,
sourcefn sticker(self, value: InputSticker) -> Self
fn sticker(self, value: InputSticker) -> Self
Setter for
sticker field.sourcefn mask_position(self, value: MaskPosition) -> Self
fn mask_position(self, value: MaskPosition) -> Self
Setter for
mask_position field.sourceimpl<P> AnswerCallbackQuerySetters for Pwhere
P: HasPayload<Payload = AnswerCallbackQuery>,
impl<P> AnswerCallbackQuerySetters for Pwhere
P: HasPayload<Payload = AnswerCallbackQuery>,
sourcefn callback_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn callback_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
callback_query_id field.sourcefn show_alert(self, value: bool) -> Self
fn show_alert(self, value: bool) -> Self
Setter for
show_alert field.sourcefn cache_time(self, value: u32) -> Self
fn cache_time(self, value: u32) -> Self
Setter for
cache_time field.sourceimpl<P> AnswerInlineQuerySetters for Pwhere
P: HasPayload<Payload = AnswerInlineQuery>,
impl<P> AnswerInlineQuerySetters for Pwhere
P: HasPayload<Payload = AnswerInlineQuery>,
sourcefn inline_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_query_id field.sourcefn results<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<InlineQueryResult, Global> as IntoIterator>::Item>,
fn results<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<InlineQueryResult, Global> as IntoIterator>::Item>,
Setter for
results field.sourcefn cache_time(self, value: u32) -> Self
fn cache_time(self, value: u32) -> Self
Setter for
cache_time field.sourcefn is_personal(self, value: bool) -> Self
fn is_personal(self, value: bool) -> Self
Setter for
is_personal field.sourcefn next_offset<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn next_offset<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
next_offset field.sourcefn switch_pm_text<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn switch_pm_text<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
switch_pm_text field.sourcefn switch_pm_parameter<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn switch_pm_parameter<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
switch_pm_parameter field.sourceimpl<P> AnswerPreCheckoutQuerySetters for Pwhere
P: HasPayload<Payload = AnswerPreCheckoutQuery>,
impl<P> AnswerPreCheckoutQuerySetters for Pwhere
P: HasPayload<Payload = AnswerPreCheckoutQuery>,
sourcefn pre_checkout_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn pre_checkout_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
pre_checkout_query_id field.sourcefn error_message<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn error_message<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
error_message field.sourceimpl<P> AnswerShippingQuerySetters for Pwhere
P: HasPayload<Payload = AnswerShippingQuery>,
impl<P> AnswerShippingQuerySetters for Pwhere
P: HasPayload<Payload = AnswerShippingQuery>,
sourcefn shipping_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn shipping_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
shipping_query_id field.sourcefn shipping_options<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<ShippingOption, Global> as IntoIterator>::Item>,
fn shipping_options<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<ShippingOption, Global> as IntoIterator>::Item>,
Setter for
shipping_options field.sourcefn error_message<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn error_message<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
error_message field.sourceimpl<P> AnswerWebAppQuerySetters for Pwhere
P: HasPayload<Payload = AnswerWebAppQuery>,
impl<P> AnswerWebAppQuerySetters for Pwhere
P: HasPayload<Payload = AnswerWebAppQuery>,
sourcefn web_app_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn web_app_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
web_app_query_id field.sourcefn result(self, value: InlineQueryResult) -> Self
fn result(self, value: InlineQueryResult) -> Self
Setter for
result field.sourceimpl<P> ApproveChatJoinRequestSetters for Pwhere
P: HasPayload<Payload = ApproveChatJoinRequest>,
impl<P> ApproveChatJoinRequestSetters for Pwhere
P: HasPayload<Payload = ApproveChatJoinRequest>,
sourceimpl<P> BanChatMemberSetters for Pwhere
P: HasPayload<Payload = BanChatMember>,
impl<P> BanChatMemberSetters for Pwhere
P: HasPayload<Payload = BanChatMember>,
sourcefn until_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
fn until_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
Setter for
until_date field.sourcefn revoke_messages(self, value: bool) -> Self
fn revoke_messages(self, value: bool) -> Self
Setter for
revoke_messages field.sourceimpl<P> BanChatSenderChatSetters for Pwhere
P: HasPayload<Payload = BanChatSenderChat>,
impl<P> BanChatSenderChatSetters for Pwhere
P: HasPayload<Payload = BanChatSenderChat>,
sourcefn sender_chat_id<T>(self, value: T) -> Selfwhere
T: Into<ChatId>,
fn sender_chat_id<T>(self, value: T) -> Selfwhere
T: Into<ChatId>,
Setter for
sender_chat_id field.sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<P> CopyMessageSetters for Pwhere
P: HasPayload<Payload = CopyMessage>,
impl<P> CopyMessageSetters for Pwhere
P: HasPayload<Payload = CopyMessage>,
sourcefn from_chat_id<T>(self, value: T) -> Selfwhere
T: Into<Recipient>,
fn from_chat_id<T>(self, value: T) -> Selfwhere
T: Into<Recipient>,
Setter for
from_chat_id field.sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> CreateChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = CreateChatInviteLink>,
impl<P> CreateChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = CreateChatInviteLink>,
sourcefn expire_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
fn expire_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
Setter for
expire_date field.sourcefn member_limit(self, value: u32) -> Self
fn member_limit(self, value: u32) -> Self
Setter for
member_limit field.sourcefn creates_join_request(self, value: bool) -> Self
fn creates_join_request(self, value: bool) -> Self
Setter for
creates_join_request field.sourceimpl<P> CreateInvoiceLinkSetters for Pwhere
P: HasPayload<Payload = CreateInvoiceLink>,
impl<P> CreateInvoiceLinkSetters for Pwhere
P: HasPayload<Payload = CreateInvoiceLink>,
sourcefn description<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn description<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
description field.sourcefn provider_token<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn provider_token<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
provider_token field.sourcefn prices<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<LabeledPrice, Global> as IntoIterator>::Item>,
fn prices<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<LabeledPrice, Global> as IntoIterator>::Item>,
Setter for
prices field.sourcefn max_tip_amount(self, value: u32) -> Self
fn max_tip_amount(self, value: u32) -> Self
Setter for
max_tip_amount field.sourcefn suggested_tip_amounts<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<u32, Global> as IntoIterator>::Item>,
fn suggested_tip_amounts<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<u32, Global> as IntoIterator>::Item>,
Setter for
suggested_tip_amounts field.sourcefn provider_data<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn provider_data<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
provider_data field.sourcefn photo_size<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_size<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
photo_size field.sourcefn photo_width<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_width<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
photo_width field.sourcefn photo_height<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_height<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
photo_height field.sourcefn need_phone_number(self, value: bool) -> Self
fn need_phone_number(self, value: bool) -> Self
Setter for
need_phone_number field.sourcefn need_email(self, value: bool) -> Self
fn need_email(self, value: bool) -> Self
Setter for
need_email field.sourcefn need_shipping_address(self, value: bool) -> Self
fn need_shipping_address(self, value: bool) -> Self
Setter for
need_shipping_address field.sourcefn send_phone_number_to_provider(self, value: bool) -> Self
fn send_phone_number_to_provider(self, value: bool) -> Self
Setter for
send_phone_number_to_provider field.sourcefn send_email_to_provider(self, value: bool) -> Self
fn send_email_to_provider(self, value: bool) -> Self
Setter for
send_email_to_provider field.sourcefn is_flexible(self, value: bool) -> Self
fn is_flexible(self, value: bool) -> Self
Setter for
is_flexible field.sourceimpl<P> CreateNewStickerSetSetters for Pwhere
P: HasPayload<Payload = CreateNewStickerSet>,
impl<P> CreateNewStickerSetSetters for Pwhere
P: HasPayload<Payload = CreateNewStickerSet>,
sourcefn sticker(self, value: InputSticker) -> Self
fn sticker(self, value: InputSticker) -> Self
Setter for
sticker field.sourcefn sticker_type(self, value: StickerType) -> Self
fn sticker_type(self, value: StickerType) -> Self
Setter for
sticker_type field.sourcefn mask_position(self, value: MaskPosition) -> Self
fn mask_position(self, value: MaskPosition) -> Self
Setter for
mask_position field.sourceimpl<P> DeclineChatJoinRequestSetters for Pwhere
P: HasPayload<Payload = DeclineChatJoinRequest>,
impl<P> DeclineChatJoinRequestSetters for Pwhere
P: HasPayload<Payload = DeclineChatJoinRequest>,
sourceimpl<P> DeleteChatPhotoSetters for Pwhere
P: HasPayload<Payload = DeleteChatPhoto>,
impl<P> DeleteChatPhotoSetters for Pwhere
P: HasPayload<Payload = DeleteChatPhoto>,
sourceimpl<P> DeleteChatStickerSetSetters for Pwhere
P: HasPayload<Payload = DeleteChatStickerSet>,
impl<P> DeleteChatStickerSetSetters for Pwhere
P: HasPayload<Payload = DeleteChatStickerSet>,
sourceimpl<P> DeleteMessageSetters for Pwhere
P: HasPayload<Payload = DeleteMessage>,
impl<P> DeleteMessageSetters for Pwhere
P: HasPayload<Payload = DeleteMessage>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourceimpl<P> DeleteMyCommandsSetters for Pwhere
P: HasPayload<Payload = DeleteMyCommands>,
impl<P> DeleteMyCommandsSetters for Pwhere
P: HasPayload<Payload = DeleteMyCommands>,
sourcefn scope(self, value: BotCommandScope) -> Self
fn scope(self, value: BotCommandScope) -> Self
Setter for
scope field.sourcefn language_code<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn language_code<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
language_code field.sourceimpl<P> DeleteStickerFromSetSetters for Pwhere
P: HasPayload<Payload = DeleteStickerFromSet>,
impl<P> DeleteStickerFromSetSetters for Pwhere
P: HasPayload<Payload = DeleteStickerFromSet>,
sourceimpl<P> DeleteWebhookSetters for Pwhere
P: HasPayload<Payload = DeleteWebhook>,
impl<P> DeleteWebhookSetters for Pwhere
P: HasPayload<Payload = DeleteWebhook>,
sourcefn drop_pending_updates(self, value: bool) -> Self
fn drop_pending_updates(self, value: bool) -> Self
Setter for
drop_pending_updates field.sourceimpl<P> EditChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = EditChatInviteLink>,
impl<P> EditChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = EditChatInviteLink>,
sourcefn invite_link<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn invite_link<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
invite_link field.sourcefn expire_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
fn expire_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
Setter for
expire_date field.sourcefn member_limit(self, value: u32) -> Self
fn member_limit(self, value: u32) -> Self
Setter for
member_limit field.sourcefn creates_join_request(self, value: bool) -> Self
fn creates_join_request(self, value: bool) -> Self
Setter for
creates_join_request field.sourceimpl<P> EditMessageCaptionInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageCaptionInline>,
impl<P> EditMessageCaptionInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageCaptionInline>,
sourcefn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_message_id field.sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> EditMessageCaptionSetters for Pwhere
P: HasPayload<Payload = EditMessageCaption>,
impl<P> EditMessageCaptionSetters for Pwhere
P: HasPayload<Payload = EditMessageCaption>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> EditMessageLiveLocationInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageLiveLocationInline>,
impl<P> EditMessageLiveLocationInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageLiveLocationInline>,
sourcefn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_message_id field.sourcefn horizontal_accuracy(self, value: f64) -> Self
fn horizontal_accuracy(self, value: f64) -> Self
Setter for
horizontal_accuracy field.sourcefn proximity_alert_radius(self, value: u32) -> Self
fn proximity_alert_radius(self, value: u32) -> Self
Setter for
proximity_alert_radius field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> EditMessageLiveLocationSetters for Pwhere
P: HasPayload<Payload = EditMessageLiveLocation>,
impl<P> EditMessageLiveLocationSetters for Pwhere
P: HasPayload<Payload = EditMessageLiveLocation>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn horizontal_accuracy(self, value: f64) -> Self
fn horizontal_accuracy(self, value: f64) -> Self
Setter for
horizontal_accuracy field.sourcefn proximity_alert_radius(self, value: u32) -> Self
fn proximity_alert_radius(self, value: u32) -> Self
Setter for
proximity_alert_radius field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> EditMessageMediaInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageMediaInline>,
impl<P> EditMessageMediaInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageMediaInline>,
sourcefn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_message_id field.sourcefn media(self, value: InputMedia) -> Self
fn media(self, value: InputMedia) -> Self
Setter for
media field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> EditMessageMediaSetters for Pwhere
P: HasPayload<Payload = EditMessageMedia>,
impl<P> EditMessageMediaSetters for Pwhere
P: HasPayload<Payload = EditMessageMedia>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn media(self, value: InputMedia) -> Self
fn media(self, value: InputMedia) -> Self
Setter for
media field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> EditMessageReplyMarkupInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageReplyMarkupInline>,
impl<P> EditMessageReplyMarkupInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageReplyMarkupInline>,
sourcefn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_message_id field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> EditMessageReplyMarkupSetters for Pwhere
P: HasPayload<Payload = EditMessageReplyMarkup>,
impl<P> EditMessageReplyMarkupSetters for Pwhere
P: HasPayload<Payload = EditMessageReplyMarkup>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> EditMessageTextInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageTextInline>,
impl<P> EditMessageTextInlineSetters for Pwhere
P: HasPayload<Payload = EditMessageTextInline>,
sourcefn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_message_id field.sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
entities field.sourcefn disable_web_page_preview(self, value: bool) -> Self
fn disable_web_page_preview(self, value: bool) -> Self
Setter for
disable_web_page_preview field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> EditMessageTextSetters for Pwhere
P: HasPayload<Payload = EditMessageText>,
impl<P> EditMessageTextSetters for Pwhere
P: HasPayload<Payload = EditMessageText>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
entities field.sourcefn disable_web_page_preview(self, value: bool) -> Self
fn disable_web_page_preview(self, value: bool) -> Self
Setter for
disable_web_page_preview field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.impl<T> Erasable for T
impl<T> Erasable for T
sourceimpl<P> ExportChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = ExportChatInviteLink>,
impl<P> ExportChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = ExportChatInviteLink>,
sourceimpl<P> ForwardMessageSetters for Pwhere
P: HasPayload<Payload = ForwardMessage>,
impl<P> ForwardMessageSetters for Pwhere
P: HasPayload<Payload = ForwardMessage>,
sourcefn from_chat_id<T>(self, value: T) -> Selfwhere
T: Into<Recipient>,
fn from_chat_id<T>(self, value: T) -> Selfwhere
T: Into<Recipient>,
Setter for
from_chat_id field.sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourceimpl<P> GetChatAdministratorsSetters for Pwhere
P: HasPayload<Payload = GetChatAdministrators>,
impl<P> GetChatAdministratorsSetters for Pwhere
P: HasPayload<Payload = GetChatAdministrators>,
sourceimpl<P> GetChatMemberCountSetters for Pwhere
P: HasPayload<Payload = GetChatMemberCount>,
impl<P> GetChatMemberCountSetters for Pwhere
P: HasPayload<Payload = GetChatMemberCount>,
sourceimpl<P> GetChatMemberSetters for Pwhere
P: HasPayload<Payload = GetChatMember>,
impl<P> GetChatMemberSetters for Pwhere
P: HasPayload<Payload = GetChatMember>,
sourceimpl<P> GetChatMembersCountSetters for Pwhere
P: HasPayload<Payload = GetChatMembersCount>,
impl<P> GetChatMembersCountSetters for Pwhere
P: HasPayload<Payload = GetChatMembersCount>,
sourceimpl<P> GetChatMenuButtonSetters for Pwhere
P: HasPayload<Payload = GetChatMenuButton>,
impl<P> GetChatMenuButtonSetters for Pwhere
P: HasPayload<Payload = GetChatMenuButton>,
sourceimpl<P> GetChatSetters for Pwhere
P: HasPayload<Payload = GetChat>,
impl<P> GetChatSetters for Pwhere
P: HasPayload<Payload = GetChat>,
sourceimpl<P> GetCustomEmojiStickersSetters for Pwhere
P: HasPayload<Payload = GetCustomEmojiStickers>,
impl<P> GetCustomEmojiStickersSetters for Pwhere
P: HasPayload<Payload = GetCustomEmojiStickers>,
sourcefn custom_emoji_ids<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<String, Global> as IntoIterator>::Item>,
fn custom_emoji_ids<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<String, Global> as IntoIterator>::Item>,
Setter for
custom_emoji_ids field.sourceimpl<P> GetFileSetters for Pwhere
P: HasPayload<Payload = GetFile>,
impl<P> GetFileSetters for Pwhere
P: HasPayload<Payload = GetFile>,
sourceimpl<P> GetGameHighScoresSetters for Pwhere
P: HasPayload<Payload = GetGameHighScores>,
impl<P> GetGameHighScoresSetters for Pwhere
P: HasPayload<Payload = GetGameHighScores>,
sourceimpl<P> GetMyCommandsSetters for Pwhere
P: HasPayload<Payload = GetMyCommands>,
impl<P> GetMyCommandsSetters for Pwhere
P: HasPayload<Payload = GetMyCommands>,
sourcefn scope(self, value: BotCommandScope) -> Self
fn scope(self, value: BotCommandScope) -> Self
Setter for
scope field.sourcefn language_code<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn language_code<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
language_code field.sourceimpl<P> GetMyDefaultAdministratorRightsSetters for Pwhere
P: HasPayload<Payload = GetMyDefaultAdministratorRights>,
impl<P> GetMyDefaultAdministratorRightsSetters for Pwhere
P: HasPayload<Payload = GetMyDefaultAdministratorRights>,
sourcefn for_channels(self, value: bool) -> Self
fn for_channels(self, value: bool) -> Self
Setter for
for_channels field.sourceimpl<P> GetStickerSetSetters for Pwhere
P: HasPayload<Payload = GetStickerSet>,
impl<P> GetStickerSetSetters for Pwhere
P: HasPayload<Payload = GetStickerSet>,
sourceimpl<P> GetUpdatesSetters for Pwhere
P: HasPayload<Payload = GetUpdates>,
impl<P> GetUpdatesSetters for Pwhere
P: HasPayload<Payload = GetUpdates>,
sourcefn allowed_updates<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<AllowedUpdate, Global> as IntoIterator>::Item>,
fn allowed_updates<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<AllowedUpdate, Global> as IntoIterator>::Item>,
Setter for
allowed_updates field.sourceimpl<P> GetUserProfilePhotosSetters for Pwhere
P: HasPayload<Payload = GetUserProfilePhotos>,
impl<P> GetUserProfilePhotosSetters for Pwhere
P: HasPayload<Payload = GetUserProfilePhotos>,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<P> KickChatMemberSetters for Pwhere
P: HasPayload<Payload = KickChatMember>,
impl<P> KickChatMemberSetters for Pwhere
P: HasPayload<Payload = KickChatMember>,
sourcefn until_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
fn until_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
Setter for
until_date field.sourcefn revoke_messages(self, value: bool) -> Self
fn revoke_messages(self, value: bool) -> Self
Setter for
revoke_messages field.sourceimpl<P> LeaveChatSetters for Pwhere
P: HasPayload<Payload = LeaveChat>,
impl<P> LeaveChatSetters for Pwhere
P: HasPayload<Payload = LeaveChat>,
sourceimpl<P> PinChatMessageSetters for Pwhere
P: HasPayload<Payload = PinChatMessage>,
impl<P> PinChatMessageSetters for Pwhere
P: HasPayload<Payload = PinChatMessage>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourceimpl<P> PromoteChatMemberSetters for Pwhere
P: HasPayload<Payload = PromoteChatMember>,
impl<P> PromoteChatMemberSetters for Pwhere
P: HasPayload<Payload = PromoteChatMember>,
sourcefn is_anonymous(self, value: bool) -> Self
fn is_anonymous(self, value: bool) -> Self
Setter for
is_anonymous field.sourcefn can_manage_chat(self, value: bool) -> Self
fn can_manage_chat(self, value: bool) -> Self
Setter for
can_manage_chat field.sourcefn can_change_info(self, value: bool) -> Self
fn can_change_info(self, value: bool) -> Self
Setter for
can_change_info field.sourcefn can_post_messages(self, value: bool) -> Self
fn can_post_messages(self, value: bool) -> Self
Setter for
can_post_messages field.sourcefn can_edit_messages(self, value: bool) -> Self
fn can_edit_messages(self, value: bool) -> Self
Setter for
can_edit_messages field.sourcefn can_delete_messages(self, value: bool) -> Self
fn can_delete_messages(self, value: bool) -> Self
Setter for
can_delete_messages field.sourcefn can_manage_video_chats(self, value: bool) -> Self
fn can_manage_video_chats(self, value: bool) -> Self
Setter for
can_manage_video_chats field.sourcefn can_invite_users(self, value: bool) -> Self
fn can_invite_users(self, value: bool) -> Self
Setter for
can_invite_users field.sourcefn can_restrict_members(self, value: bool) -> Self
fn can_restrict_members(self, value: bool) -> Self
Setter for
can_restrict_members field.sourcefn can_pin_messages(self, value: bool) -> Self
fn can_pin_messages(self, value: bool) -> Self
Setter for
can_pin_messages field.sourcefn can_promote_members(self, value: bool) -> Self
fn can_promote_members(self, value: bool) -> Self
Setter for
can_promote_members field.sourceimpl<P> RestrictChatMemberSetters for Pwhere
P: HasPayload<Payload = RestrictChatMember>,
impl<P> RestrictChatMemberSetters for Pwhere
P: HasPayload<Payload = RestrictChatMember>,
sourcefn permissions(self, value: ChatPermissions) -> Self
fn permissions(self, value: ChatPermissions) -> Self
Setter for
permissions field.sourcefn until_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
fn until_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
Setter for
until_date field.sourceimpl<P> RevokeChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = RevokeChatInviteLink>,
impl<P> RevokeChatInviteLinkSetters for Pwhere
P: HasPayload<Payload = RevokeChatInviteLink>,
sourcefn invite_link<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn invite_link<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
invite_link field.sourceimpl<P> SendAnimationSetters for Pwhere
P: HasPayload<Payload = SendAnimation>,
impl<P> SendAnimationSetters for Pwhere
P: HasPayload<Payload = SendAnimation>,
sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendAudioSetters for Pwhere
P: HasPayload<Payload = SendAudio>,
impl<P> SendAudioSetters for Pwhere
P: HasPayload<Payload = SendAudio>,
sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendChatActionSetters for Pwhere
P: HasPayload<Payload = SendChatAction>,
impl<P> SendChatActionSetters for Pwhere
P: HasPayload<Payload = SendChatAction>,
sourceimpl<P> SendContactSetters for Pwhere
P: HasPayload<Payload = SendContact>,
impl<P> SendContactSetters for Pwhere
P: HasPayload<Payload = SendContact>,
sourcefn phone_number<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn phone_number<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
phone_number field.sourcefn first_name<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn first_name<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
first_name field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendDiceSetters for Pwhere
P: HasPayload<Payload = SendDice>,
impl<P> SendDiceSetters for Pwhere
P: HasPayload<Payload = SendDice>,
sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendDocumentSetters for Pwhere
P: HasPayload<Payload = SendDocument>,
impl<P> SendDocumentSetters for Pwhere
P: HasPayload<Payload = SendDocument>,
sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn disable_content_type_detection(self, value: bool) -> Self
fn disable_content_type_detection(self, value: bool) -> Self
Setter for
disable_content_type_detection field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendGameSetters for Pwhere
P: HasPayload<Payload = SendGame>,
impl<P> SendGameSetters for Pwhere
P: HasPayload<Payload = SendGame>,
sourcefn game_short_name<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn game_short_name<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
game_short_name field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: i32) -> Self
fn reply_to_message_id(self, value: i32) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendInvoiceSetters for Pwhere
P: HasPayload<Payload = SendInvoice>,
impl<P> SendInvoiceSetters for Pwhere
P: HasPayload<Payload = SendInvoice>,
sourcefn description<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn description<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
description field.sourcefn provider_token<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn provider_token<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
provider_token field.sourcefn prices<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<LabeledPrice, Global> as IntoIterator>::Item>,
fn prices<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<LabeledPrice, Global> as IntoIterator>::Item>,
Setter for
prices field.sourcefn max_tip_amount(self, value: u32) -> Self
fn max_tip_amount(self, value: u32) -> Self
Setter for
max_tip_amount field.sourcefn suggested_tip_amounts<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<u32, Global> as IntoIterator>::Item>,
fn suggested_tip_amounts<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<u32, Global> as IntoIterator>::Item>,
Setter for
suggested_tip_amounts field.sourcefn start_parameter<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn start_parameter<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
start_parameter field.sourcefn provider_data<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn provider_data<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
provider_data field.sourcefn photo_size<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_size<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
photo_size field.sourcefn photo_width<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_width<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
photo_width field.sourcefn photo_height<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_height<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
photo_height field.sourcefn need_phone_number(self, value: bool) -> Self
fn need_phone_number(self, value: bool) -> Self
Setter for
need_phone_number field.sourcefn need_email(self, value: bool) -> Self
fn need_email(self, value: bool) -> Self
Setter for
need_email field.sourcefn need_shipping_address(self, value: bool) -> Self
fn need_shipping_address(self, value: bool) -> Self
Setter for
need_shipping_address field.sourcefn send_phone_number_to_provider(self, value: bool) -> Self
fn send_phone_number_to_provider(self, value: bool) -> Self
Setter for
send_phone_number_to_provider field.sourcefn send_email_to_provider(self, value: bool) -> Self
fn send_email_to_provider(self, value: bool) -> Self
Setter for
send_email_to_provider field.sourcefn is_flexible(self, value: bool) -> Self
fn is_flexible(self, value: bool) -> Self
Setter for
is_flexible field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: i32) -> Self
fn reply_to_message_id(self, value: i32) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> SendLocationSetters for Pwhere
P: HasPayload<Payload = SendLocation>,
impl<P> SendLocationSetters for Pwhere
P: HasPayload<Payload = SendLocation>,
sourcefn horizontal_accuracy(self, value: f64) -> Self
fn horizontal_accuracy(self, value: f64) -> Self
Setter for
horizontal_accuracy field.sourcefn live_period(self, value: u32) -> Self
fn live_period(self, value: u32) -> Self
Setter for
live_period field.sourcefn proximity_alert_radius(self, value: u32) -> Self
fn proximity_alert_radius(self, value: u32) -> Self
Setter for
proximity_alert_radius field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendMediaGroupSetters for Pwhere
P: HasPayload<Payload = SendMediaGroup>,
impl<P> SendMediaGroupSetters for Pwhere
P: HasPayload<Payload = SendMediaGroup>,
sourcefn media<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<InputMedia, Global> as IntoIterator>::Item>,
fn media<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<InputMedia, Global> as IntoIterator>::Item>,
Setter for
media field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourceimpl<P> SendMessageSetters for Pwhere
P: HasPayload<Payload = SendMessage>,
impl<P> SendMessageSetters for Pwhere
P: HasPayload<Payload = SendMessage>,
sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
entities field.sourcefn disable_web_page_preview(self, value: bool) -> Self
fn disable_web_page_preview(self, value: bool) -> Self
Setter for
disable_web_page_preview field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendPhotoSetters for Pwhere
P: HasPayload<Payload = SendPhoto>,
impl<P> SendPhotoSetters for Pwhere
P: HasPayload<Payload = SendPhoto>,
sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendPollSetters for Pwhere
P: HasPayload<Payload = SendPoll>,
impl<P> SendPollSetters for Pwhere
P: HasPayload<Payload = SendPoll>,
sourcefn options<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<String, Global> as IntoIterator>::Item>,
fn options<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<String, Global> as IntoIterator>::Item>,
Setter for
options field.sourcefn is_anonymous(self, value: bool) -> Self
fn is_anonymous(self, value: bool) -> Self
Setter for
is_anonymous field.sourcefn allows_multiple_answers(self, value: bool) -> Self
fn allows_multiple_answers(self, value: bool) -> Self
Setter for
allows_multiple_answers field.sourcefn correct_option_id(self, value: u8) -> Self
fn correct_option_id(self, value: u8) -> Self
Setter for
correct_option_id field.sourcefn explanation<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn explanation<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
explanation field.sourcefn explanation_parse_mode(self, value: ParseMode) -> Self
fn explanation_parse_mode(self, value: ParseMode) -> Self
Setter for
explanation_parse_mode field.sourcefn explanation_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn explanation_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
explanation_entities field.sourcefn open_period(self, value: u16) -> Self
fn open_period(self, value: u16) -> Self
Setter for
open_period field.sourcefn close_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
fn close_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
Setter for
close_date field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendStickerSetters for Pwhere
P: HasPayload<Payload = SendSticker>,
impl<P> SendStickerSetters for Pwhere
P: HasPayload<Payload = SendSticker>,
sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: i32) -> Self
fn reply_to_message_id(self, value: i32) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendVenueSetters for Pwhere
P: HasPayload<Payload = SendVenue>,
impl<P> SendVenueSetters for Pwhere
P: HasPayload<Payload = SendVenue>,
sourcefn foursquare_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn foursquare_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
foursquare_id field.sourcefn foursquare_type<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn foursquare_type<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
foursquare_type field.sourcefn google_place_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn google_place_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
google_place_id field.sourcefn google_place_type<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn google_place_type<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
google_place_type field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendVideoNoteSetters for Pwhere
P: HasPayload<Payload = SendVideoNote>,
impl<P> SendVideoNoteSetters for Pwhere
P: HasPayload<Payload = SendVideoNote>,
sourcefn video_note(self, value: InputFile) -> Self
fn video_note(self, value: InputFile) -> Self
Setter for
video_note field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendVideoSetters for Pwhere
P: HasPayload<Payload = SendVideo>,
impl<P> SendVideoSetters for Pwhere
P: HasPayload<Payload = SendVideo>,
sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn supports_streaming(self, value: bool) -> Self
fn supports_streaming(self, value: bool) -> Self
Setter for
supports_streaming field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn protect_content(self, value: bool) -> Self
fn protect_content(self, value: bool) -> Self
Setter for
protect_content field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SendVoiceSetters for Pwhere
P: HasPayload<Payload = SendVoice>,
impl<P> SendVoiceSetters for Pwhere
P: HasPayload<Payload = SendVoice>,
sourcefn parse_mode(self, value: ParseMode) -> Self
fn parse_mode(self, value: ParseMode) -> Self
Setter for
parse_mode field.sourcefn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
fn caption_entities<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<MessageEntity, Global> as IntoIterator>::Item>,
Setter for
caption_entities field.sourcefn disable_notification(self, value: bool) -> Self
fn disable_notification(self, value: bool) -> Self
Setter for
disable_notification field.sourcefn reply_to_message_id(self, value: MessageId) -> Self
fn reply_to_message_id(self, value: MessageId) -> Self
Setter for
reply_to_message_id field.sourcefn allow_sending_without_reply(self, value: bool) -> Self
fn allow_sending_without_reply(self, value: bool) -> Self
Setter for
allow_sending_without_reply field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> SetChatAdministratorCustomTitleSetters for Pwhere
P: HasPayload<Payload = SetChatAdministratorCustomTitle>,
impl<P> SetChatAdministratorCustomTitleSetters for Pwhere
P: HasPayload<Payload = SetChatAdministratorCustomTitle>,
sourceimpl<P> SetChatDescriptionSetters for Pwhere
P: HasPayload<Payload = SetChatDescription>,
impl<P> SetChatDescriptionSetters for Pwhere
P: HasPayload<Payload = SetChatDescription>,
sourcefn description<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn description<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
description field.sourceimpl<P> SetChatMenuButtonSetters for Pwhere
P: HasPayload<Payload = SetChatMenuButton>,
impl<P> SetChatMenuButtonSetters for Pwhere
P: HasPayload<Payload = SetChatMenuButton>,
sourceimpl<P> SetChatPermissionsSetters for Pwhere
P: HasPayload<Payload = SetChatPermissions>,
impl<P> SetChatPermissionsSetters for Pwhere
P: HasPayload<Payload = SetChatPermissions>,
sourcefn permissions(self, value: ChatPermissions) -> Self
fn permissions(self, value: ChatPermissions) -> Self
Setter for
permissions field.sourceimpl<P> SetChatPhotoSetters for Pwhere
P: HasPayload<Payload = SetChatPhoto>,
impl<P> SetChatPhotoSetters for Pwhere
P: HasPayload<Payload = SetChatPhoto>,
sourceimpl<P> SetChatStickerSetSetters for Pwhere
P: HasPayload<Payload = SetChatStickerSet>,
impl<P> SetChatStickerSetSetters for Pwhere
P: HasPayload<Payload = SetChatStickerSet>,
sourcefn sticker_set_name<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn sticker_set_name<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
sticker_set_name field.sourceimpl<P> SetChatTitleSetters for Pwhere
P: HasPayload<Payload = SetChatTitle>,
impl<P> SetChatTitleSetters for Pwhere
P: HasPayload<Payload = SetChatTitle>,
sourceimpl<P> SetGameScoreInlineSetters for Pwhere
P: HasPayload<Payload = SetGameScoreInline>,
impl<P> SetGameScoreInlineSetters for Pwhere
P: HasPayload<Payload = SetGameScoreInline>,
sourcefn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_message_id field.sourcefn disable_edit_message(self, value: bool) -> Self
fn disable_edit_message(self, value: bool) -> Self
Setter for
disable_edit_message field.sourceimpl<P> SetGameScoreSetters for Pwhere
P: HasPayload<Payload = SetGameScore>,
impl<P> SetGameScoreSetters for Pwhere
P: HasPayload<Payload = SetGameScore>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn disable_edit_message(self, value: bool) -> Self
fn disable_edit_message(self, value: bool) -> Self
Setter for
disable_edit_message field.sourceimpl<P> SetMyCommandsSetters for Pwhere
P: HasPayload<Payload = SetMyCommands>,
impl<P> SetMyCommandsSetters for Pwhere
P: HasPayload<Payload = SetMyCommands>,
sourcefn commands<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<BotCommand, Global> as IntoIterator>::Item>,
fn commands<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<BotCommand, Global> as IntoIterator>::Item>,
Setter for
commands field.sourcefn scope(self, value: BotCommandScope) -> Self
fn scope(self, value: BotCommandScope) -> Self
Setter for
scope field.sourcefn language_code<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn language_code<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
language_code field.sourceimpl<P> SetMyDefaultAdministratorRightsSetters for Pwhere
P: HasPayload<Payload = SetMyDefaultAdministratorRights>,
impl<P> SetMyDefaultAdministratorRightsSetters for Pwhere
P: HasPayload<Payload = SetMyDefaultAdministratorRights>,
sourcefn rights(self, value: ChatAdministratorRights) -> Self
fn rights(self, value: ChatAdministratorRights) -> Self
Setter for
rights field.sourcefn for_channels(self, value: bool) -> Self
fn for_channels(self, value: bool) -> Self
Setter for
for_channels field.sourceimpl<P> SetPassportDataErrorsSetters for Pwhere
P: HasPayload<Payload = SetPassportDataErrors>,
impl<P> SetPassportDataErrorsSetters for Pwhere
P: HasPayload<Payload = SetPassportDataErrors>,
sourcefn errors<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<PassportElementError, Global> as IntoIterator>::Item>,
fn errors<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<PassportElementError, Global> as IntoIterator>::Item>,
Setter for
errors field.sourceimpl<P> SetStickerPositionInSetSetters for Pwhere
P: HasPayload<Payload = SetStickerPositionInSet>,
impl<P> SetStickerPositionInSetSetters for Pwhere
P: HasPayload<Payload = SetStickerPositionInSet>,
sourceimpl<P> SetStickerSetThumbSetters for Pwhere
P: HasPayload<Payload = SetStickerSetThumb>,
impl<P> SetStickerSetThumbSetters for Pwhere
P: HasPayload<Payload = SetStickerSetThumb>,
sourceimpl<P> SetWebhookSetters for Pwhere
P: HasPayload<Payload = SetWebhook>,
impl<P> SetWebhookSetters for Pwhere
P: HasPayload<Payload = SetWebhook>,
sourcefn certificate(self, value: InputFile) -> Self
fn certificate(self, value: InputFile) -> Self
Setter for
certificate field.sourcefn ip_address<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn ip_address<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
ip_address field.sourcefn max_connections(self, value: u8) -> Self
fn max_connections(self, value: u8) -> Self
Setter for
max_connections field.sourcefn allowed_updates<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<AllowedUpdate, Global> as IntoIterator>::Item>,
fn allowed_updates<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = <Vec<AllowedUpdate, Global> as IntoIterator>::Item>,
Setter for
allowed_updates field.sourcefn drop_pending_updates(self, value: bool) -> Self
fn drop_pending_updates(self, value: bool) -> Self
Setter for
drop_pending_updates field.sourcefn secret_token<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn secret_token<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
secret_token field.sourceimpl<P> StopMessageLiveLocationInlineSetters for Pwhere
P: HasPayload<Payload = StopMessageLiveLocationInline>,
impl<P> StopMessageLiveLocationInlineSetters for Pwhere
P: HasPayload<Payload = StopMessageLiveLocationInline>,
sourcefn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn inline_message_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
Setter for
inline_message_id field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> StopMessageLiveLocationSetters for Pwhere
P: HasPayload<Payload = StopMessageLiveLocation>,
impl<P> StopMessageLiveLocationSetters for Pwhere
P: HasPayload<Payload = StopMessageLiveLocation>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.sourceimpl<P> StopPollSetters for Pwhere
P: HasPayload<Payload = StopPoll>,
impl<P> StopPollSetters for Pwhere
P: HasPayload<Payload = StopPoll>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourcefn reply_markup(self, value: InlineKeyboardMarkup) -> Self
fn reply_markup(self, value: InlineKeyboardMarkup) -> Self
Setter for
reply_markup field.sourceimpl<P> UnbanChatMemberSetters for Pwhere
P: HasPayload<Payload = UnbanChatMember>,
impl<P> UnbanChatMemberSetters for Pwhere
P: HasPayload<Payload = UnbanChatMember>,
sourceimpl<P> UnbanChatSenderChatSetters for Pwhere
P: HasPayload<Payload = UnbanChatSenderChat>,
impl<P> UnbanChatSenderChatSetters for Pwhere
P: HasPayload<Payload = UnbanChatSenderChat>,
sourcefn sender_chat_id<T>(self, value: T) -> Selfwhere
T: Into<ChatId>,
fn sender_chat_id<T>(self, value: T) -> Selfwhere
T: Into<ChatId>,
Setter for
sender_chat_id field.sourceimpl<P> UnpinAllChatMessagesSetters for Pwhere
P: HasPayload<Payload = UnpinAllChatMessages>,
impl<P> UnpinAllChatMessagesSetters for Pwhere
P: HasPayload<Payload = UnpinAllChatMessages>,
sourceimpl<P> UnpinChatMessageSetters for Pwhere
P: HasPayload<Payload = UnpinChatMessage>,
impl<P> UnpinChatMessageSetters for Pwhere
P: HasPayload<Payload = UnpinChatMessage>,
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.sourceimpl<P> UploadStickerFileSetters for Pwhere
P: HasPayload<Payload = UploadStickerFile>,
impl<P> UploadStickerFileSetters for Pwhere
P: HasPayload<Payload = UploadStickerFile>,
sourcefn png_sticker(self, value: InputFile) -> Self
fn png_sticker(self, value: InputFile) -> Self
Setter for
png_sticker field.