Skip to main content
Module

x/mtkruto/mod.ts>types.MessageService

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.MessageService
extends _TypeMessage
import { types } from "https://deno.land/x/mtkruto@0.1.112/mod.ts";
const { MessageService } = types;

Constructors

new
MessageService(params: { out?: true; mentioned?: true; mediaUnread?: true; silent?: true; post?: true; legacy?: true; id: number; fromId?: TypePeer; peerId: TypePeer; replyTo?: TypeMessageReplyHeader; date: number; action: TypeMessageAction; ttlPeriod?: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
date: number
optional
fromId: TypePeer
id: number
optional
legacy: true
optional
mediaUnread: true
optional
mentioned: true
optional
out: true
peerId: TypePeer
optional
post: true
optional
replyTo: TypeMessageReplyHeader
optional
silent: true
optional
ttlPeriod: number

Static Properties

readonly
[paramDesc]: ParamDesc