Skip to main content

bots.requestWebViewButton

No description available.

func (c *Client) BotsRequestWebViewButton(ctx context.Context, request *BotsRequestWebViewButtonRequest) (*BotsRequestedButton, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.BotsRequestWebViewButton(ctx, &tg.BotsRequestWebViewButtonRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // *BotsRequestedButton
return nil
})

Parameters

NameTypeRequiredDescription
UserIDInputUserClassyesUserID field of BotsRequestWebViewButtonRequest.
ButtonKeyboardButtonClassyesButton field of BotsRequestWebViewButtonRequest.

Returns

*BotsRequestedButton

References