pub struct ReadBusinessMessage { /* private fields */ }Expand description
Marks incoming message as read on behalf of a business account.
Requires the can_read_messages business bot right.
Implementations§
Source§impl ReadBusinessMessage
impl ReadBusinessMessage
Sourcepub fn new<T>(
business_connection_id: T,
chat_id: Integer,
message_id: Integer,
) -> Self
pub fn new<T>( business_connection_id: T, chat_id: Integer, message_id: Integer, ) -> Self
Creates a new ReadBusinessMessage.
§Arguments
business_connection_id- Unique identifier of the business connection on behalf of which to read the message.chat_id- Unique identifier of the chat in which the message was received; the chat must have been active in the last 24 hours.message_id- Unique identifier of the message to mark as read.
Trait Implementations§
Source§impl Clone for ReadBusinessMessage
impl Clone for ReadBusinessMessage
Source§fn clone(&self) -> ReadBusinessMessage
fn clone(&self) -> ReadBusinessMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadBusinessMessage
impl Debug for ReadBusinessMessage
Source§impl Method for ReadBusinessMessage
impl Method for ReadBusinessMessage
Auto Trait Implementations§
impl Freeze for ReadBusinessMessage
impl RefUnwindSafe for ReadBusinessMessage
impl Send for ReadBusinessMessage
impl Sync for ReadBusinessMessage
impl Unpin for ReadBusinessMessage
impl UnsafeUnpin for ReadBusinessMessage
impl UnwindSafe for ReadBusinessMessage
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