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

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

Full info about a basic group.

Constructors

new
ChatFull_(params: { can_set_username?: true; has_scheduled?: true; translations_disabled?: true; id: bigint; about: string; participants: enums.ChatParticipants; chat_photo?: enums.Photo; notify_settings: enums.PeerNotifySettings; exported_invite?: enums.ExportedChatInvite; bot_info?: Array<enums.BotInfo>; pinned_msg_id?: number; folder_id?: number; call?: enums.InputGroupCall; ttl_period?: number; groupcall_default_join_as?: enums.Peer; theme_emoticon?: string; requests_pending?: number; recent_requesters?: Array<bigint>; available_reactions?: enums.ChatReactions; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
about: string

About string for this chat

optional
available_reactions: enums.ChatReactions
optional
bot_info: Array<enums.BotInfo>

Info about bots that are in this chat

optional
call: enums.InputGroupCall

Group call information

optional
can_set_username: true

Can we change the username of this chat

optional
chat_photo: enums.Photo

Chat photo

optional
exported_invite: enums.ExportedChatInvite

Chat invite

optional
groupcall_default_join_as: enums.Peer

When using phone.getGroupCallJoinAs to get a list of peers that can be used to join a group call, this field indicates the peer that should be selected by default.

optional
has_scheduled: true

Whether scheduled messages are available

id: bigint

ID of the chat

notify_settings: enums.PeerNotifySettings

Notification settings

participants: enums.ChatParticipants

Participant list

optional
pinned_msg_id: number

Message ID of the last pinned message

optional
recent_requesters: Array<bigint>

IDs of users who requested to join recently

optional
requests_pending: number
optional
theme_emoticon: string

Emoji representing a specific chat theme

optional
translations_disabled: true

Whether the real-time chat translation popup should be hidden.

optional
ttl_period: number

Time-To-Live of messages sent by the current user to this chat

Static Properties

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