Skip to main content

bots.getRequestedWebViewButton

No description available.

func (c *Client) BotsGetRequestedWebViewButton(ctx context.Context, request *BotsGetRequestedWebViewButtonRequest) (KeyboardButtonClass, error)

Calling this method

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

res, err := api.BotsGetRequestedWebViewButton(ctx, &tg.BotsGetRequestedWebViewButtonRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // KeyboardButtonClass
return nil
})

Parameters

NameTypeRequiredDescription
BotInputUserClassyesBot field of BotsGetRequestedWebViewButtonRequest.
WebappReqIDstringyesWebappReqID field of BotsGetRequestedWebViewButtonRequest.

Returns

KeyboardButtonClass

References