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

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

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

Constructors

new
Message_(params: { out?: true; mentioned?: true; media_unread?: true; silent?: true; post?: true; from_scheduled?: true; legacy?: true; edit_hide?: true; pinned?: true; noforwards?: true; invert_media?: true; id: number; from_id?: enums.Peer; peer_id: enums.Peer; fwd_from?: enums.MessageFwdHeader; via_bot_id?: bigint; reply_to?: enums.MessageReplyHeader; date: number; message: string; media?: enums.MessageMedia; reply_markup?: enums.ReplyMarkup; entities?: Array<enums.MessageEntity>; views?: number; forwards?: number; replies?: enums.MessageReplies; edit_date?: number; post_author?: string; grouped_id?: bigint; reactions?: enums.MessageReactions; restriction_reason?: Array<enums.RestrictionReason>; ttl_period?: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
date: number
optional
edit_date: number
optional
edit_hide: true
optional
entities: Array<enums.MessageEntity>
optional
forwards: number
optional
from_id: enums.Peer
optional
from_scheduled: true
optional
fwd_from: enums.MessageFwdHeader
optional
grouped_id: bigint
id: number
optional
invert_media: true
optional
legacy: true
optional
media: enums.MessageMedia
optional
media_unread: true
optional
mentioned: true
message: string
optional
noforwards: true
optional
out: true
peer_id: enums.Peer
optional
pinned: true
optional
post: true
optional
post_author: string
optional
reactions: enums.MessageReactions
optional
replies: enums.MessageReplies
optional
reply_markup: enums.ReplyMarkup
optional
reply_to: enums.MessageReplyHeader
optional
restriction_reason: Array<enums.RestrictionReason>
optional
silent: true
optional
ttl_period: number
optional
via_bot_id: bigint
optional
views: number

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc