Raw.messages.AcceptUrlAuth

Raw.messages.AcceptUrlAuth

Use this to accept a seamless telegram login authorization request, for more info click here

messages.acceptUrlAuth#b12c7125 flags:# write_allowed:flags.0?true peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResult;
export namespace Raw {
  export namespace messages {
    export class AcceptUrlAuth {
      constructor(params: {
        writeAllowed?: boolean;
        peer?: Raw.TypeInputPeer;
        msgId?: number;
        buttonId?: number;
        url?: string;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xb12c7125

Property

Results

Raw.TypeUrlAuthResult