pub struct ActionPrompt {
pub action_id: String,
pub chat_id: i64,
pub expires_at: OffsetDateTime,
}Expand description
A prompt Telegram accepted.
Fields§
§action_id: StringThe action’s id — the same string the later decision reports, and
the {action_id} of the web app’s confirm route when the action
is value-moving.
chat_id: i64The chat the prompt landed in.
expires_at: OffsetDateTimeWhen the buttons stop working.
Trait Implementations§
Source§impl Clone for ActionPrompt
impl Clone for ActionPrompt
Source§impl Debug for ActionPrompt
impl Debug for ActionPrompt
impl Eq for ActionPrompt
Source§impl PartialEq for ActionPrompt
impl PartialEq for ActionPrompt
impl StructuralPartialEq for ActionPrompt
Auto Trait Implementations§
impl Freeze for ActionPrompt
impl RefUnwindSafe for ActionPrompt
impl Send for ActionPrompt
impl Sync for ActionPrompt
impl Unpin for ActionPrompt
impl UnsafeUnpin for ActionPrompt
impl UnwindSafe for ActionPrompt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.