pub struct Dialog {
pub raw: Dialog,
pub message: Option<Message>,
pub entity: Option<User>,
}Expand description
A Telegram dialog (chat, user, channel).
Fields§
§raw: Dialog§message: Option<Message>The top message in the dialog, if available.
entity: Option<User>Entity (user/chat/channel) that corresponds to this dialog’s peer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dialog
impl RefUnwindSafe for Dialog
impl Send for Dialog
impl Sync for Dialog
impl Unpin for Dialog
impl UnsafeUnpin for Dialog
impl UnwindSafe for Dialog
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