Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/tl/2_types.ts>MessageService

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class MessageService
extends TypeMessage
import { MessageService } from "https://deno.land/x/mtkruto@0.0.982/tl/2_types.ts";

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