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
| Name | Type | Required | Description |
|---|---|---|---|
UserID | InputUserClass | yes | UserID field of BotsRequestWebViewButtonRequest. |
Button | KeyboardButtonClass | yes | Button field of BotsRequestWebViewButtonRequest. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
bots.requestWebViewButton#31a2a35e