pub struct UnreadMsgsHuddle { /* private fields */ }Expand description
Represents details of unread group direct messages with a specific group of users.
Implementations§
Source§impl UnreadMsgsHuddle
impl UnreadMsgsHuddle
Sourcepub fn user_ids_string(&self) -> Option<&str>
pub fn user_ids_string(&self) -> Option<&str>
Gets the UnreadMsgsHuddle user_ids_string.
A string containing the IDs of all users in the group direct message conversation, including the current user, separated by commas and sorted numerically; for example: \"1,2,3\".
Sourcepub fn set_user_ids_string<'a, C: Into<Cow<'a, str>>>(&mut self, val: C)
pub fn set_user_ids_string<'a, C: Into<Cow<'a, str>>>(&mut self, val: C)
Sets the UnreadMsgsHuddle user_ids_string.
A string containing the IDs of all users in the group direct message conversation, including the current user, separated by commas and sorted numerically; for example: \"1,2,3\".
Sourcepub fn unset_user_ids_string(&mut self) -> Option<String>
pub fn unset_user_ids_string(&mut self) -> Option<String>
Unsets the UnreadMsgsHuddle user_ids_string.
A string containing the IDs of all users in the group direct message conversation, including the current user, separated by commas and sorted numerically; for example: \"1,2,3\".
Sourcepub fn with_user_ids_string<'a, C: Into<Cow<'a, str>>>(self, val: C) -> Self
pub fn with_user_ids_string<'a, C: Into<Cow<'a, str>>>(self, val: C) -> Self
Builder function that sets the UnreadMsgsHuddle user_ids_string.
A string containing the IDs of all users in the group direct message conversation, including the current user, separated by commas and sorted numerically; for example: \"1,2,3\".
Sourcepub fn unread_message_ids(&self) -> Option<&[u64]>
pub fn unread_message_ids(&self) -> Option<&[u64]>
Gets the UnreadMsgsHuddle unread_message_ids.
The message IDs of the recent unread messages which have been sent in this group direct message conversation, sorted in ascending order.
Sourcepub fn set_unread_message_ids<'a, C: Into<Cow<'a, [u64]>>>(&mut self, val: C)
pub fn set_unread_message_ids<'a, C: Into<Cow<'a, [u64]>>>(&mut self, val: C)
Sets the UnreadMsgsHuddle unread_message_ids.
The message IDs of the recent unread messages which have been sent in this group direct message conversation, sorted in ascending order.
Sourcepub fn unset_unread_message_ids(&mut self) -> Option<Vec<u64>>
pub fn unset_unread_message_ids(&mut self) -> Option<Vec<u64>>
Unsets the UnreadMsgsHuddle unread_message_ids.
The message IDs of the recent unread messages which have been sent in this group direct message conversation, sorted in ascending order.
Sourcepub fn with_unread_message_ids<'a, C: Into<Cow<'a, [u64]>>>(
self,
val: C,
) -> Self
pub fn with_unread_message_ids<'a, C: Into<Cow<'a, [u64]>>>( self, val: C, ) -> Self
Builder function that sets the UnreadMsgsHuddle unread_message_ids.
The message IDs of the recent unread messages which have been sent in this group direct message conversation, sorted in ascending order.