Enum telegram::schema::ReportReason
[−]
pub enum ReportReason { inputReportReasonSpam, inputReportReasonViolence, inputReportReasonPornography, inputReportReasonOther { text: String, }, }
Variants
inputReportReasonSpam
inputReportReasonViolence
inputReportReasonPornography
inputReportReasonOther
Fields of inputReportReasonOther
text: String |
Trait Implementations
impl Debug for ReportReason
[src]
impl Serialize for ReportReason
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.