pub struct GroupCallMessage {
pub message_id: i32,
pub sender_id: MessageSender,
pub date: i32,
pub text: FormattedText,
pub paid_message_star_count: i64,
pub is_from_owner: bool,
pub can_be_deleted: bool,
}Expand description
Represents a message sent in a group call
Fields§
§message_id: i32Unique message identifier within the group call
sender_id: MessageSenderIdentifier of the sender of the message
date: i32Point in time (Unix timestamp) when the message was sent
text: FormattedTextText of the message. If empty, then the message is a paid reaction in a live story
paid_message_star_count: i64The number of Telegram Stars that were paid to send the message; for live stories only
is_from_owner: boolTrue, if the message is sent by the owner of the call and must be treated as a message of the maximum level; for live stories only
can_be_deleted: boolTrue, if the message can be deleted by the current user; for live stories only
Trait Implementations§
Source§impl Clone for GroupCallMessage
impl Clone for GroupCallMessage
Source§fn clone(&self) -> GroupCallMessage
fn clone(&self) -> GroupCallMessage
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 GroupCallMessage
impl Debug for GroupCallMessage
Source§impl<'de> Deserialize<'de> for GroupCallMessage
impl<'de> Deserialize<'de> for GroupCallMessage
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 GroupCallMessage
impl PartialEq for GroupCallMessage
Source§impl Serialize for GroupCallMessage
impl Serialize for GroupCallMessage
impl StructuralPartialEq for GroupCallMessage
Auto Trait Implementations§
impl Freeze for GroupCallMessage
impl RefUnwindSafe for GroupCallMessage
impl Send for GroupCallMessage
impl Sync for GroupCallMessage
impl Unpin for GroupCallMessage
impl UnsafeUnpin for GroupCallMessage
impl UnwindSafe for GroupCallMessage
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