Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>messages_report_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_report_
extends Function_<boolean>
import { messages_report_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Report a message in a chat for violation of telegram's Terms of Service

Constructors

new
messages_report_(params: { peer: enums.InputPeer; id: Array<number>; reason: enums.ReportReason; message: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
id: Array<number>

IDs of messages to report

message: string

Comment for report moderation

peer: enums.InputPeer

Peer

reason: enums.ReportReason

Why are these messages being reported

Static Properties

__F: (params: { peer: enums.InputPeer; id: Array<number>; reason: enums.ReportReason; message: string; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc