Struct egg_mode::direct::QuickReply [−][src]
Expand description
A Quick Reply attached to a message to request structured input from a user.
For more information about Quick Replies, see the quick_reply_option
function on
DraftMessage
.
Fields
label: String
The label shown to the user. When the user selects this Quick Reply, the label will be sent
as the text
of the reply message.
description: Option<String>
An optional description that accompanies a Quick Reply.
metadata: String
Metadata that accompanies this Quick Reply. Metadata is not shown to the user, but is
available in the quick_reply_response
when the user selects it.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for QuickReply
impl Send for QuickReply
impl Sync for QuickReply
impl Unpin for QuickReply
impl UnwindSafe for QuickReply