Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.105/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