Struct rtdlib::types::ReportChat [−][src]
pub struct ReportChat { /* fields omitted */ }
Expand description
Reports a chat to the Telegram moderators. Supported only for supergroups, channels, or private chats with bots, since other chats can’t be checked by moderators
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for ReportChat
impl Send for ReportChat
impl Sync for ReportChat
impl Unpin for ReportChat
impl UnwindSafe for ReportChat
Blanket Implementations
Mutably borrows from an owned value. Read more