[−][src]Struct tbot::contexts::EditedVideo
The context for edited_video
handlers.
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bot: Arc<Bot>
A bot for calling API without information inference.
message_id: Id
ID of the message.
from: Option<User>
The author of the message.
date: i64
The timestamp of the message.
chat: Chat
The chat to which the message was sent.
reply_to: Option<Message>
The replied message.
The author's signature, if enabled for the channel.
edit_date: i64
The last time when the message was edited.
reply_markup: Option<Keyboard>
The inline keyboard attached to the message.
video: Video
The video.
caption: Text
The caption of the video.
media_group_id: Option<String>
The media group's ID.
Trait Implementations
impl Album for EditedVideo
[src]
#[must_use]fn media_group_id(&self) -> Option<&str>
[src]
impl AnyText for EditedVideo
[src]
impl Caption for EditedVideo
[src]
impl Clone for EditedVideo
[src]
fn clone(&self) -> EditedVideo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Context for EditedVideo
[src]
impl Debug for EditedVideo
[src]
impl EditedMessage for EditedVideo
[src]
impl Forwardable for EditedVideo
[src]
fn forward_to<'a>(
&'a self,
chat_id: impl ImplicitChatId<'a>
) -> ForwardMessage<'a>
[src]
&'a self,
chat_id: impl ImplicitChatId<'a>
) -> ForwardMessage<'a>
impl MediaMessage for EditedVideo
[src]
#[must_use]fn reply_to(&self) -> Option<&Message>
[src]
#[must_use]fn author_signature(&self) -> Option<&str>
[src]
#[must_use]fn reply_markup(&self) -> Option<&Keyboard>
[src]
impl Message for EditedVideo
[src]
#[must_use]fn message_id(&self) -> Id
[src]
#[must_use]fn from(&self) -> Option<&User>
[src]
#[must_use]fn date(&self) -> i64
[src]
#[must_use]fn chat(&self) -> &Chat
[src]
impl Pinnable for EditedVideo
[src]
fn pin_this_message(&self) -> PinChatMessage
[src]
impl Video for EditedVideo
[src]
Auto Trait Implementations
impl !RefUnwindSafe for EditedVideo
impl Send for EditedVideo
impl Sync for EditedVideo
impl Unpin for EditedVideo
impl !UnwindSafe for EditedVideo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,