Raw.help.TermsOfService

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 undefined

    Whether a prompt must be showed to the user, in order to accept the new terms.

  • id : Raw.TypeDataJSON

    Id of the new terms

  • text : string

    Text of the new terms

  • entities : Array of Raw.TypeMessageEntity

    Message entities for styled text

  • minAgeConfirm : number or undefined

    Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.