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_ChannelMessages_

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

Channel messages

Constructors

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

Properties

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

Chats

count: number

Total number of results were found server-side (may not be all included here)

optional
inexact: true

If set, returned results may be inexact

messages: Array<enums.Message>

Found messages

optional
offset_id_offset: number

Indicates the absolute position of messages[0] within the total result set with count count.
This is useful, for example, if the result was fetched using offset_id, and we need to display a progress/total counter (like photo 134 of 200, for all media in a chat, we could simply use photo ${offset_id_offset} of ${count}.

topics: Array<enums.ForumTopic>

Forum topic information

users: Array<enums.User>

Users

Static Properties

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