Struct telexide::model::ForceReply [−][src]
Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot‘s message and tapped ’Reply’). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode.
Fields
force_reply: bool
Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot‘s message and tapped ’Reply’). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode.
warning: this field always has to be true
selective: bool
Optional. Use this parameter if you want to force reply from specific
users only. Targets: 1) users that are @mentioned in the text of the
Message
object; 2) if the bot’s message is a reply (has
reply_to_message_id), sender of the original message.
Trait Implementations
impl Clone for ForceReply
[src]
impl Clone for ForceReply
[src]fn clone(&self) -> ForceReply
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ForceReply
[src]
impl<'de> Deserialize<'de> for ForceReply
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ForceReply> for ForceReply
[src]
impl PartialEq<ForceReply> for ForceReply
[src]fn eq(&self, other: &ForceReply) -> bool
[src]
fn ne(&self, other: &ForceReply) -> bool
[src]
impl Serialize for ForceReply
[src]
impl Serialize for ForceReply
[src]impl StructuralPartialEq for ForceReply
[src]
impl StructuralPartialEq for ForceReply
[src]Auto Trait Implementations
impl RefUnwindSafe for ForceReply
impl RefUnwindSafe for ForceReply
impl Send for ForceReply
impl Send for ForceReply
impl Sync for ForceReply
impl Sync for ForceReply
impl Unpin for ForceReply
impl Unpin for ForceReply
impl UnwindSafe for ForceReply
impl UnwindSafe for ForceReply
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,