Enum rtdlib::types::ChatStatistics
source · [−]pub enum ChatStatistics {
Channel(ChatStatisticsChannel),
Supergroup(ChatStatisticsSupergroup),
GetChatStatistics(GetChatStatistics),
// some variants omitted
}
Expand description
Contains a detailed statistics about a chat
Variants
Channel(ChatStatisticsChannel)
A detailed statistics about a channel chat
Supergroup(ChatStatisticsSupergroup)
A detailed statistics about a supergroup chat
GetChatStatistics(GetChatStatistics)
Returns detailed statistics about a chat. Currently, this method can be used only for supergroups and channels. Can be used only if supergroupFullInfo.can_get_statistics == true
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<ChatStatistics, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ChatStatistics, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChatStatistics
impl Send for ChatStatistics
impl Sync for ChatStatistics
impl Unpin for ChatStatistics
impl UnwindSafe for ChatStatistics
Blanket Implementations
Mutably borrows from an owned value. Read more