Struct botapi::gen_types::VideoChatEnded
source · pub struct VideoChatEnded { /* private fields */ }
Expand description
This object represents a service message about a video chat ended in the chat.
Implementations§
source§impl VideoChatEnded
impl VideoChatEnded
pub fn noskip(self) -> NoSkipVideoChatEnded
source§impl VideoChatEnded
impl VideoChatEnded
pub fn new(duration: i64) -> Self
sourcepub fn get_duration<'a>(&'a self) -> i64
pub fn get_duration<'a>(&'a self) -> i64
Video chat duration in seconds
sourcepub fn get_duration_ref<'a>(&'a self) -> i64
pub fn get_duration_ref<'a>(&'a self) -> i64
Video chat duration in seconds
Trait Implementations§
source§impl Clone for VideoChatEnded
impl Clone for VideoChatEnded
source§fn clone(&self) -> VideoChatEnded
fn clone(&self) -> VideoChatEnded
Returns a copy 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 moresource§impl Debug for VideoChatEnded
impl Debug for VideoChatEnded
source§impl Default for VideoChatEnded
impl Default for VideoChatEnded
source§fn default() -> VideoChatEnded
fn default() -> VideoChatEnded
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoChatEnded
impl<'de> Deserialize<'de> for VideoChatEnded
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<NoSkipVideoChatEnded> for VideoChatEnded
impl From<NoSkipVideoChatEnded> for VideoChatEnded
source§fn from(t: NoSkipVideoChatEnded) -> Self
fn from(t: NoSkipVideoChatEnded) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipVideoChatEnded> for VideoChatEnded
impl Into<NoSkipVideoChatEnded> for VideoChatEnded
source§fn into(self) -> NoSkipVideoChatEnded
fn into(self) -> NoSkipVideoChatEnded
Converts this type into the (usually inferred) input type.