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

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

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UpdateShortSentMessage_
extends _Updates_
import { UpdateShortSentMessage_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Shortened constructor containing info on one outgoing message to a contact (the destination chat has to be extracted from the method call that returned this object).

Constructors

new
UpdateShortSentMessage_(params: { out?: true; id: number; pts: number; pts_count: number; date: number; media?: enums.MessageMedia; entities?: Array<enums.MessageEntity>; ttl_period?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
date: number
optional
entities: Array<enums.MessageEntity>

Entities for styled text

id: number

ID of the sent message

optional
media: enums.MessageMedia

Attached media

optional
out: true

Whether the message is outgoing

pts: number
pts_count: number
optional
ttl_period: number

Time To Live of the message, once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc