Skip to content

messages.acceptUrlAuth

Layer 225

Constructor ID: 0x67a3f0de
Returns: URLAuthResult

Parameters

NameTypeDescription
write_allowedbool (flags.0, optional)
share_phone_numberbool (flags.3, optional)
peerInputPeer (flags.1, optional)
msg_idint32 (flags.1, optional)
button_idint32 (flags.1, optional)
urlstring (flags.2, optional)
match_codestring (flags.4, optional)

Example

go
result, err := client.Raw(&tg.AcceptURLAuthRequest{
    write_allowed: false,
    share_phone_number: false,
    peer: nil, // InputPeer
    msg_id: 0,
    button_id: 0,
    url: "",
    match_code: "",
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.