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>messages_DiscussionMessage_

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

Information about a message thread

Constructors

new
messages_DiscussionMessage_(params: { messages: Array<enums.Message>; max_id?: number; read_inbox_max_id?: number; read_outbox_max_id?: number; unread_count: number; chats: Array<enums.Chat>; users: Array<enums.User>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
chats: Array<enums.Chat>

Chats mentioned in constructor

optional
max_id: number

Message ID of latest reply in this thread

messages: Array<enums.Message>

The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message ID).

optional
read_inbox_max_id: number

Message ID of latest read incoming message in this thread

optional
read_outbox_max_id: number

Message ID of latest read outgoing message in this thread

unread_count: number

Number of unread messages

users: Array<enums.User>

Users mentioned in constructor

Static Properties

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