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
writeAllowed
: boolean or undefinedSet this flag to allow the bot to send messages to you (if requested)
peer
: Raw.TypeInputPeer or undefinedThe location of the message
msgId
: number or undefinedMessage id of the message with the login button
buttonId
: number or undefinedId of the login button
url
: string or undefinedUrl used for link url authorization, click here for more info