Enum rust_tdlib::types::ChatReportReason [−][src]
pub enum ChatReportReason { ChildAbuse(ChatReportReasonChildAbuse), Copyright(ChatReportReasonCopyright), Custom(ChatReportReasonCustom), Pornography(ChatReportReasonPornography), Spam(ChatReportReasonSpam), UnrelatedLocation(ChatReportReasonUnrelatedLocation), Violence(ChatReportReasonViolence), // some variants omitted }
Expand description
Describes the reason why a chat is reported
Variants
ChildAbuse(ChatReportReasonChildAbuse)
The chat has child abuse related content
Copyright(ChatReportReasonCopyright)
The chat contains copyrighted content
Custom(ChatReportReasonCustom)
A custom reason provided by the user
Pornography(ChatReportReasonPornography)
The chat contains pornographic messages
Spam(ChatReportReasonSpam)
The chat contains spam messages
The location-based chat is unrelated to its stated location
Violence(ChatReportReasonViolence)
The chat promotes violence
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChatReportReason
impl Send for ChatReportReason
impl Sync for ChatReportReason
impl Unpin for ChatReportReason
impl UnwindSafe for ChatReportReason
Blanket Implementations
Mutably borrows from an owned value. Read more