Raw.help.TermsOfService
Info about the latest telegram terms of service
help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector<MessageEntity> min_age_confirm:flags.1?int = help.TermsOfService;
export namespace Raw {
export namespace help {
export class TermsOfService {
constructor(params: {
popup?: boolean;
id: Raw.TypeDataJSON;
text: string;
entities: Array<Raw.TypeMessageEntity>;
minAgeConfirm?: number;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x780a0310
Property
popup
: boolean or undefinedWhether a prompt must be showed to the user, in order to accept the new terms.
id
: Raw.TypeDataJSONId of the new terms
text
: stringText of the new terms
entities
: Array of Raw.TypeMessageEntityMessage entities for styled text
minAgeConfirm
: number or undefinedMinimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.