pub struct InternalLinkTypeVideoChat {
pub chat_username: String,
pub invite_hash: String,
pub is_live_stream: bool,
}
Expand description
The link is a link to a video chat. Call searchPublicChat with the given chat username, and then joinGroupCall with the given invite hash to process the link
Fields§
§chat_username: String
Username of the chat with the video chat
invite_hash: String
If non-empty, invite hash to be used to join the video chat without being muted by administrators
is_live_stream: bool
True, if the video chat is expected to be a live stream in a channel or a broadcast group
Trait Implementations§
Source§impl Clone for InternalLinkTypeVideoChat
impl Clone for InternalLinkTypeVideoChat
Source§fn clone(&self) -> InternalLinkTypeVideoChat
fn clone(&self) -> InternalLinkTypeVideoChat
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 moreSource§impl Debug for InternalLinkTypeVideoChat
impl Debug for InternalLinkTypeVideoChat
Source§impl Default for InternalLinkTypeVideoChat
impl Default for InternalLinkTypeVideoChat
Source§fn default() -> InternalLinkTypeVideoChat
fn default() -> InternalLinkTypeVideoChat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeVideoChat
impl<'de> Deserialize<'de> for InternalLinkTypeVideoChat
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
impl StructuralPartialEq for InternalLinkTypeVideoChat
Auto Trait Implementations§
impl Freeze for InternalLinkTypeVideoChat
impl RefUnwindSafe for InternalLinkTypeVideoChat
impl Send for InternalLinkTypeVideoChat
impl Sync for InternalLinkTypeVideoChat
impl Unpin for InternalLinkTypeVideoChat
impl UnwindSafe for InternalLinkTypeVideoChat
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