pub struct GroupCallMessageLevel {
pub min_star_count: i64,
pub pin_duration: i32,
pub max_text_length: i32,
pub max_custom_emoji_count: i32,
pub first_color: i32,
pub second_color: i32,
pub background_color: i32,
}Expand description
Represents a level of features for a message sent in a live story group call
Fields§
§min_star_count: i64The minimum number of Telegram Stars required to get features of the level
pin_duration: i32The amount of time the message of this level will be pinned, in seconds
max_text_length: i32The maximum allowed length of the message text
max_custom_emoji_count: i32The maximum allowed number of custom emoji in the message text
first_color: i32The first color used to show the message text in the RGB format
second_color: i32The second color used to show the message text in the RGB format
background_color: i32Background color for the message the RGB format
Trait Implementations§
Source§impl Clone for GroupCallMessageLevel
impl Clone for GroupCallMessageLevel
Source§fn clone(&self) -> GroupCallMessageLevel
fn clone(&self) -> GroupCallMessageLevel
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 GroupCallMessageLevel
impl Debug for GroupCallMessageLevel
Source§impl Default for GroupCallMessageLevel
impl Default for GroupCallMessageLevel
Source§fn default() -> GroupCallMessageLevel
fn default() -> GroupCallMessageLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupCallMessageLevel
impl<'de> Deserialize<'de> for GroupCallMessageLevel
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 PartialEq for GroupCallMessageLevel
impl PartialEq for GroupCallMessageLevel
Source§impl Serialize for GroupCallMessageLevel
impl Serialize for GroupCallMessageLevel
impl StructuralPartialEq for GroupCallMessageLevel
Auto Trait Implementations§
impl Freeze for GroupCallMessageLevel
impl RefUnwindSafe for GroupCallMessageLevel
impl Send for GroupCallMessageLevel
impl Sync for GroupCallMessageLevel
impl Unpin for GroupCallMessageLevel
impl UnsafeUnpin for GroupCallMessageLevel
impl UnwindSafe for GroupCallMessageLevel
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