package
3.3.0+incompatible
Repository: https://github.com/olebedev/go-tgbot.git
Documentation: pkg.go.dev
# Functions
New creates a new updates API client.
NewDeleteWebhookBadRequest creates a DeleteWebhookBadRequest with default headers values.
NewDeleteWebhookEnhanceYourCalm creates a DeleteWebhookEnhanceYourCalm with default headers values.
NewDeleteWebhookForbidden creates a DeleteWebhookForbidden with default headers values.
NewDeleteWebhookInternalServerError creates a DeleteWebhookInternalServerError with default headers values.
NewDeleteWebhookNotFound creates a DeleteWebhookNotFound with default headers values.
NewDeleteWebhookOK creates a DeleteWebhookOK with default headers values.
NewDeleteWebhookParams creates a new DeleteWebhookParams object with the default values initialized.
NewDeleteWebhookParamsWithContext creates a new DeleteWebhookParams object with the default values initialized, and the ability to set a context for a request.
NewDeleteWebhookParamsWithHTTPClient creates a new DeleteWebhookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewDeleteWebhookParamsWithTimeout creates a new DeleteWebhookParams object with the default values initialized, and the ability to set a timeout on a request.
NewDeleteWebhookUnauthorized creates a DeleteWebhookUnauthorized with default headers values.
NewGetUpdatesBadRequest creates a GetUpdatesBadRequest with default headers values.
NewGetUpdatesEnhanceYourCalm creates a GetUpdatesEnhanceYourCalm with default headers values.
NewGetUpdatesForbidden creates a GetUpdatesForbidden with default headers values.
NewGetUpdatesInternalServerError creates a GetUpdatesInternalServerError with default headers values.
NewGetUpdatesNotFound creates a GetUpdatesNotFound with default headers values.
NewGetUpdatesOK creates a GetUpdatesOK with default headers values.
NewGetUpdatesParams creates a new GetUpdatesParams object with the default values initialized.
NewGetUpdatesParamsWithContext creates a new GetUpdatesParams object with the default values initialized, and the ability to set a context for a request.
NewGetUpdatesParamsWithHTTPClient creates a new GetUpdatesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewGetUpdatesParamsWithTimeout creates a new GetUpdatesParams object with the default values initialized, and the ability to set a timeout on a request.
NewGetUpdatesUnauthorized creates a GetUpdatesUnauthorized with default headers values.
NewGetWebhookInfoBadRequest creates a GetWebhookInfoBadRequest with default headers values.
NewGetWebhookInfoEnhanceYourCalm creates a GetWebhookInfoEnhanceYourCalm with default headers values.
NewGetWebhookInfoForbidden creates a GetWebhookInfoForbidden with default headers values.
NewGetWebhookInfoInternalServerError creates a GetWebhookInfoInternalServerError with default headers values.
NewGetWebhookInfoNotFound creates a GetWebhookInfoNotFound with default headers values.
NewGetWebhookInfoOK creates a GetWebhookInfoOK with default headers values.
NewGetWebhookInfoParams creates a new GetWebhookInfoParams object with the default values initialized.
NewGetWebhookInfoParamsWithContext creates a new GetWebhookInfoParams object with the default values initialized, and the ability to set a context for a request.
NewGetWebhookInfoParamsWithHTTPClient creates a new GetWebhookInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewGetWebhookInfoParamsWithTimeout creates a new GetWebhookInfoParams object with the default values initialized, and the ability to set a timeout on a request.
NewGetWebhookInfoUnauthorized creates a GetWebhookInfoUnauthorized with default headers values.
NewSetWebhookBadRequest creates a SetWebhookBadRequest with default headers values.
NewSetWebhookEnhanceYourCalm creates a SetWebhookEnhanceYourCalm with default headers values.
NewSetWebhookForbidden creates a SetWebhookForbidden with default headers values.
NewSetWebhookInternalServerError creates a SetWebhookInternalServerError with default headers values.
NewSetWebhookNotFound creates a SetWebhookNotFound with default headers values.
NewSetWebhookOK creates a SetWebhookOK with default headers values.
NewSetWebhookParams creates a new SetWebhookParams object with the default values initialized.
NewSetWebhookParamsWithContext creates a new SetWebhookParams object with the default values initialized, and the ability to set a context for a request.
NewSetWebhookParamsWithHTTPClient creates a new SetWebhookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewSetWebhookParamsWithTimeout creates a new SetWebhookParams object with the default values initialized, and the ability to set a timeout on a request.
NewSetWebhookUnauthorized creates a SetWebhookUnauthorized with default headers values.
# Structs
Client for updates API
*/.
DeleteWebhookBadRequest handles this case with default header values.
DeleteWebhookEnhanceYourCalm handles this case with default header values.
DeleteWebhookForbidden handles this case with default header values.
DeleteWebhookInternalServerError handles this case with default header values.
DeleteWebhookNotFound handles this case with default header values.
DeleteWebhookOK handles this case with default header values.
DeleteWebhookParams contains all the parameters to send to the API endpoint
for the delete webhook operation typically these are written to a http.Request
*/.
DeleteWebhookReader is a Reader for the DeleteWebhook structure.
DeleteWebhookUnauthorized handles this case with default header values.
GetUpdatesBadRequest handles this case with default header values.
GetUpdatesEnhanceYourCalm handles this case with default header values.
GetUpdatesForbidden handles this case with default header values.
GetUpdatesInternalServerError handles this case with default header values.
GetUpdatesNotFound handles this case with default header values.
GetUpdatesOK handles this case with default header values.
GetUpdatesParams contains all the parameters to send to the API endpoint
for the get updates operation typically these are written to a http.Request
*/.
GetUpdatesReader is a Reader for the GetUpdates structure.
GetUpdatesUnauthorized handles this case with default header values.
GetWebhookInfoBadRequest handles this case with default header values.
GetWebhookInfoEnhanceYourCalm handles this case with default header values.
GetWebhookInfoForbidden handles this case with default header values.
GetWebhookInfoInternalServerError handles this case with default header values.
GetWebhookInfoNotFound handles this case with default header values.
GetWebhookInfoOK handles this case with default header values.
GetWebhookInfoParams contains all the parameters to send to the API endpoint
for the get webhook info operation typically these are written to a http.Request
*/.
GetWebhookInfoReader is a Reader for the GetWebhookInfo structure.
GetWebhookInfoUnauthorized handles this case with default header values.
SetWebhookBadRequest handles this case with default header values.
SetWebhookEnhanceYourCalm handles this case with default header values.
SetWebhookForbidden handles this case with default header values.
SetWebhookInternalServerError handles this case with default header values.
SetWebhookNotFound handles this case with default header values.
SetWebhookOK handles this case with default header values.
SetWebhookParams contains all the parameters to send to the API endpoint
for the set webhook operation typically these are written to a http.Request
*/.
SetWebhookReader is a Reader for the SetWebhook structure.
SetWebhookUnauthorized handles this case with default header values.