Raw.ChatFull
Full info about a basic group.
chatFull#2633421b flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?ChatReactions reactions_limit:flags.20?int = ChatFull;
export namespace Raw {
export class ChatFull {
constructor(params: {
canSetUsername?: boolean;
hasScheduled?: boolean;
translationsDisabled?: boolean;
id: bigint;
about: string;
participants: Raw.TypeChatParticipants;
chatPhoto?: Raw.TypePhoto;
notifySettings: Raw.TypePeerNotifySettings;
exportedInvite?: Raw.TypeExportedChatInvite;
botInfo?: Array<Raw.TypeBotInfo>;
pinnedMsgId?: number;
folderId?: number;
call?: Raw.TypeInputGroupCall;
ttlPeriod?: number;
groupcallDefaultJoinAs?: Raw.TypePeer;
themeEmoticon?: string;
requestsPending?: number;
recentRequesters?: Array<bigint>;
availableReactions?: Raw.TypeChatReactions;
reactionsLimit?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x2633421b
Property
canSetUsername
: boolean or undefinedCan we change the username of this chat
hasScheduled
: boolean or undefinedWhether scheduled messages are available
translationsDisabled
: boolean or undefinedWhether the real-time chat translation popup should be hidden.
id
: bigintId of the chat
about
: stringAbout string for this chat
participants
: Raw.TypeChatParticipantsParticipant list
chatPhoto
: Raw.TypePhoto or undefinedChat photo
notifySettings
: Raw.TypePeerNotifySettingsNotification settings
exportedInvite
: Raw.TypeExportedChatInvite or undefinedChat invite
botInfo
: Array of Raw.TypeBotInfo or undefinedInfo about bots that are in this chat
pinnedMsgId
: number or undefinedMessage id of the last pinned message
folderId
: number or undefinedPeer folder id, for more info click here
call
: Raw.TypeInputGroupCall or undefinedGroup call information
ttlPeriod
: number or undefinedTime-to-live of messages sent by the current user to this chat
groupcallDefaultJoinAs
: Raw.TypePeer or undefinedWhen 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.
themeEmoticon
: string or undefinedEmoji representing a specific chat theme
requestsPending
: number or undefinedPending join requests
recentRequesters
: Array of bigint or undefinedIds of users who requested to join recently
availableReactions
: Raw.TypeChatReactions or undefinedAllowed message reactions
reactionsLimit
: number or undefinedThis flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appconfig.reactionsUniqMax).