Struct rust_tdlib::types::JoinGroupCall
source · pub struct JoinGroupCall { /* private fields */ }
Expand description
Joins an active group call. Returns join response payload for tgcalls
Implementations§
source§impl JoinGroupCall
impl JoinGroupCall
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> JoinGroupCallBuilder
pub fn group_call_id(&self) -> i32
pub fn participant_id(&self) -> &MessageSender
pub fn audio_source_id(&self) -> i32
pub fn payload(&self) -> &String
pub fn is_muted(&self) -> bool
pub fn is_my_video_enabled(&self) -> bool
pub fn invite_hash(&self) -> &String
Trait Implementations§
source§impl AsRef<JoinGroupCall> for JoinGroupCall
impl AsRef<JoinGroupCall> for JoinGroupCall
source§fn as_ref(&self) -> &JoinGroupCall
fn as_ref(&self) -> &JoinGroupCall
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for JoinGroupCall
impl Clone for JoinGroupCall
source§fn clone(&self) -> JoinGroupCall
fn clone(&self) -> JoinGroupCall
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 JoinGroupCall
impl Debug for JoinGroupCall
source§impl Default for JoinGroupCall
impl Default for JoinGroupCall
source§fn default() -> JoinGroupCall
fn default() -> JoinGroupCall
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JoinGroupCall
impl<'de> Deserialize<'de> for JoinGroupCall
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