pub struct SetGroupCallParticipantVolumeLevel { /* private fields */ }
Expand description
Changes volume level of a participant of an active group call. If the current user can manage the group call, then the participant’s volume level will be changed for all users with the default volume level
Implementations§
source§impl SetGroupCallParticipantVolumeLevel
impl SetGroupCallParticipantVolumeLevel
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> SetGroupCallParticipantVolumeLevelBuilder
pub fn group_call_id(&self) -> i32
pub fn participant_id(&self) -> &MessageSender
pub fn volume_level(&self) -> i32
Trait Implementations§
source§impl AsRef<SetGroupCallParticipantVolumeLevel> for SetGroupCallParticipantVolumeLevel
impl AsRef<SetGroupCallParticipantVolumeLevel> for SetGroupCallParticipantVolumeLevel
source§fn as_ref(&self) -> &SetGroupCallParticipantVolumeLevel
fn as_ref(&self) -> &SetGroupCallParticipantVolumeLevel
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SetGroupCallParticipantVolumeLevel
impl Clone for SetGroupCallParticipantVolumeLevel
source§fn clone(&self) -> SetGroupCallParticipantVolumeLevel
fn clone(&self) -> SetGroupCallParticipantVolumeLevel
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 Default for SetGroupCallParticipantVolumeLevel
impl Default for SetGroupCallParticipantVolumeLevel
source§fn default() -> SetGroupCallParticipantVolumeLevel
fn default() -> SetGroupCallParticipantVolumeLevel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetGroupCallParticipantVolumeLevel
impl<'de> Deserialize<'de> for SetGroupCallParticipantVolumeLevel
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