teleproto - v1.234.0
    Preparing search index...

    Interface MessagesAcceptUrlAuthParams

    interface MessagesAcceptUrlAuthParams {
        buttonId?: number;
        matchCode?: string;
        msgId?: number;
        peer?: TypeInputPeerIn;
        sharePhoneNumber?: boolean;
        tonconnectSession?: TypeInputTonConnectOauthSessionIn;
        url?: string;
        writeAllowed?: boolean;
    }
    Index
    buttonId?: number

    ID of the login button

    matchCode?: string

    If urlAuthResultRequest . match_codes was set, the emoji or code selected by the user from the provided list; must always be provided when match_codes is set, even if match_codes_first was set and the code was already validated via messages.checkUrlAuthMatchCode

    msgId?: number

    Message ID of the message with the login button

    The location of the message

    sharePhoneNumber?: boolean

    Set this flag to share the user's phone number with the bot (if requested via urlAuthResultRequest . request_phone_number and consented to by the user)

    url?: string

    URL used for link URL authorization, click here for more info »

    writeAllowed?: boolean

    Set this flag to allow the bot to send messages to you (if requested)