pub struct SendVideoNote<'a> { /* private fields */ }Expand description
Sends a video note.
Reflects the sendVideoNote method.
Implementations§
Source§impl<'a> SendVideoNote<'a>
impl<'a> SendVideoNote<'a>
Sourcepub fn is_notification_disabled(self, is_disabled: bool) -> Self
pub fn is_notification_disabled(self, is_disabled: bool) -> Self
Configures if the message will be sent silently.
Reflects the disable_notification parameter.
Sourcepub fn in_reply_to(self, id: Id) -> Self
pub fn in_reply_to(self, id: Id) -> Self
Configures which message this video note is sent in reply to.
Reflects the reply_to_message_id parameter.
Sourcepub fn reply_markup(self, markup: impl Into<Any<'a>>) -> Self
pub fn reply_markup(self, markup: impl Into<Any<'a>>) -> Self
Configures a keyboard for the message.
Reflects the reply_markup parameter.
Source§impl SendVideoNote<'_>
impl SendVideoNote<'_>
Sourcepub async fn call(self) -> Result<Message, MethodCall>
pub async fn call(self) -> Result<Message, MethodCall>
Calls the method.
Trait Implementations§
Source§impl<'a> Clone for SendVideoNote<'a>
impl<'a> Clone for SendVideoNote<'a>
Source§fn clone(&self) -> SendVideoNote<'a>
fn clone(&self) -> SendVideoNote<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for SendVideoNote<'a>
impl<'a> !RefUnwindSafe for SendVideoNote<'a>
impl<'a> Send for SendVideoNote<'a>
impl<'a> Sync for SendVideoNote<'a>
impl<'a> Unpin for SendVideoNote<'a>
impl<'a> !UnwindSafe for SendVideoNote<'a>
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