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_ForumTopics_

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

Contains information about multiple forum topics

Constructors

new
messages_ForumTopics_(params: { order_by_create_date?: true; count: number; topics: Array<enums.ForumTopic>; messages: Array<enums.Message>; chats: Array<enums.Chat>; users: Array<enums.User>; pts: number; })

Properties

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

Related chats

count: number

Total number of topics matching query; may be more than the topics contained in topics, in which case pagination is required.

messages: Array<enums.Message>

Related messages (contains the messages mentioned by forumTopic.top_message).

optional
order_by_create_date: true

Whether the returned topics are ordered by creation date; if set, pagination by offset_date should use forumTopic.date; otherwise topics are ordered by the last message date, so paginate by the date of the message referenced by forumTopic.top_message.

topics: Array<enums.ForumTopic>

Forum topics

users: Array<enums.User>

Related users

Static Properties

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