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) -> RTDResult<Self>
pub fn builder() -> RTDJoinGroupCallBuilder
pub fn group_call_id(&self) -> i64
pub fn participant_id(&self) -> &MessageSender
pub fn audio_source_id(&self) -> i64
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
Source§impl RObject for JoinGroupCall
impl RObject for JoinGroupCall
Source§impl Serialize for JoinGroupCall
impl Serialize for JoinGroupCall
impl RFunction for JoinGroupCall
Auto Trait Implementations§
impl Freeze for JoinGroupCall
impl RefUnwindSafe for JoinGroupCall
impl Send for JoinGroupCall
impl Sync for JoinGroupCall
impl Unpin for JoinGroupCall
impl UnwindSafe for JoinGroupCall
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