class PeerSettings_
extends _PeerSettings_
import { PeerSettings_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";
List of actions that are possible when interacting with this user, to be shown as suggested actions in the chat action bar », see here » for more info.
Constructors
new
PeerSettings_(params?: { report_spam?: true; add_contact?: true; block_contact?: true; share_contact?: true; need_contacts_exception?: true; report_geo?: true; autoarchived?: true; invite_members?: true; request_chat_broadcast?: true; geo_distance?: number; request_chat_title?: string; request_chat_date?: number; })Properties
protected
readonly
[params]: ParamsWhether this peer was automatically archived according to privacy settings and can be unarchived
This flag is set if request_chat_title
and request_chat_date
fields are set and the join request » is related to a channel (otherwise if only the request fields are set, the join request » is related to a chat).
If set, this is a private chat with an administrator of a chat or channel to which the user sent a join request, and this field contains the timestamp when the join request » was sent.
Static Properties
readonly
[paramDesc]: ParamDesc