package
3.3.0+incompatible
Repository: https://github.com/olebedev/go-tgbot.git
Documentation: pkg.go.dev

# Functions

New creates a new messages API client.
NewDeleteMessageBadRequest creates a DeleteMessageBadRequest with default headers values.
NewDeleteMessageEnhanceYourCalm creates a DeleteMessageEnhanceYourCalm with default headers values.
NewDeleteMessageForbidden creates a DeleteMessageForbidden with default headers values.
NewDeleteMessageInternalServerError creates a DeleteMessageInternalServerError with default headers values.
NewDeleteMessageNotFound creates a DeleteMessageNotFound with default headers values.
NewDeleteMessageOK creates a DeleteMessageOK with default headers values.
NewDeleteMessageParams creates a new DeleteMessageParams object with the default values initialized.
NewDeleteMessageParamsWithContext creates a new DeleteMessageParams object with the default values initialized, and the ability to set a context for a request.
NewDeleteMessageParamsWithHTTPClient creates a new DeleteMessageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewDeleteMessageParamsWithTimeout creates a new DeleteMessageParams object with the default values initialized, and the ability to set a timeout on a request.
NewDeleteMessageUnauthorized creates a DeleteMessageUnauthorized with default headers values.
NewEditMessageCaptionBadRequest creates a EditMessageCaptionBadRequest with default headers values.
NewEditMessageCaptionEnhanceYourCalm creates a EditMessageCaptionEnhanceYourCalm with default headers values.
NewEditMessageCaptionForbidden creates a EditMessageCaptionForbidden with default headers values.
NewEditMessageCaptionInternalServerError creates a EditMessageCaptionInternalServerError with default headers values.
NewEditMessageCaptionNotFound creates a EditMessageCaptionNotFound with default headers values.
NewEditMessageCaptionOK creates a EditMessageCaptionOK with default headers values.
NewEditMessageCaptionParams creates a new EditMessageCaptionParams object with the default values initialized.
NewEditMessageCaptionParamsWithContext creates a new EditMessageCaptionParams object with the default values initialized, and the ability to set a context for a request.
NewEditMessageCaptionParamsWithHTTPClient creates a new EditMessageCaptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewEditMessageCaptionParamsWithTimeout creates a new EditMessageCaptionParams object with the default values initialized, and the ability to set a timeout on a request.
NewEditMessageCaptionUnauthorized creates a EditMessageCaptionUnauthorized with default headers values.
NewEditMessageReplyMarkupBadRequest creates a EditMessageReplyMarkupBadRequest with default headers values.
NewEditMessageReplyMarkupEnhanceYourCalm creates a EditMessageReplyMarkupEnhanceYourCalm with default headers values.
NewEditMessageReplyMarkupForbidden creates a EditMessageReplyMarkupForbidden with default headers values.
NewEditMessageReplyMarkupInternalServerError creates a EditMessageReplyMarkupInternalServerError with default headers values.
NewEditMessageReplyMarkupNotFound creates a EditMessageReplyMarkupNotFound with default headers values.
NewEditMessageReplyMarkupOK creates a EditMessageReplyMarkupOK with default headers values.
NewEditMessageReplyMarkupParams creates a new EditMessageReplyMarkupParams object with the default values initialized.
NewEditMessageReplyMarkupParamsWithContext creates a new EditMessageReplyMarkupParams object with the default values initialized, and the ability to set a context for a request.
NewEditMessageReplyMarkupParamsWithHTTPClient creates a new EditMessageReplyMarkupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewEditMessageReplyMarkupParamsWithTimeout creates a new EditMessageReplyMarkupParams object with the default values initialized, and the ability to set a timeout on a request.
NewEditMessageReplyMarkupUnauthorized creates a EditMessageReplyMarkupUnauthorized with default headers values.
NewEditMessageTextBadRequest creates a EditMessageTextBadRequest with default headers values.
NewEditMessageTextEnhanceYourCalm creates a EditMessageTextEnhanceYourCalm with default headers values.
NewEditMessageTextForbidden creates a EditMessageTextForbidden with default headers values.
NewEditMessageTextInternalServerError creates a EditMessageTextInternalServerError with default headers values.
NewEditMessageTextNotFound creates a EditMessageTextNotFound with default headers values.
NewEditMessageTextOK creates a EditMessageTextOK with default headers values.
NewEditMessageTextParams creates a new EditMessageTextParams object with the default values initialized.
NewEditMessageTextParamsWithContext creates a new EditMessageTextParams object with the default values initialized, and the ability to set a context for a request.
NewEditMessageTextParamsWithHTTPClient creates a new EditMessageTextParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewEditMessageTextParamsWithTimeout creates a new EditMessageTextParams object with the default values initialized, and the ability to set a timeout on a request.
NewEditMessageTextUnauthorized creates a EditMessageTextUnauthorized with default headers values.
NewForwardMessageBadRequest creates a ForwardMessageBadRequest with default headers values.
NewForwardMessageEnhanceYourCalm creates a ForwardMessageEnhanceYourCalm with default headers values.
NewForwardMessageForbidden creates a ForwardMessageForbidden with default headers values.
NewForwardMessageInternalServerError creates a ForwardMessageInternalServerError with default headers values.
NewForwardMessageNotFound creates a ForwardMessageNotFound with default headers values.
NewForwardMessageOK creates a ForwardMessageOK with default headers values.
NewForwardMessageParams creates a new ForwardMessageParams object with the default values initialized.
NewForwardMessageParamsWithContext creates a new ForwardMessageParams object with the default values initialized, and the ability to set a context for a request.
NewForwardMessageParamsWithHTTPClient creates a new ForwardMessageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewForwardMessageParamsWithTimeout creates a new ForwardMessageParams object with the default values initialized, and the ability to set a timeout on a request.
NewForwardMessageUnauthorized creates a ForwardMessageUnauthorized with default headers values.
NewSendMessageBadRequest creates a SendMessageBadRequest with default headers values.
NewSendMessageBytesBadRequest creates a SendMessageBytesBadRequest with default headers values.
NewSendMessageBytesEnhanceYourCalm creates a SendMessageBytesEnhanceYourCalm with default headers values.
NewSendMessageBytesForbidden creates a SendMessageBytesForbidden with default headers values.
NewSendMessageBytesInternalServerError creates a SendMessageBytesInternalServerError with default headers values.
NewSendMessageBytesNotFound creates a SendMessageBytesNotFound with default headers values.
NewSendMessageBytesOK creates a SendMessageBytesOK with default headers values.
NewSendMessageBytesParams creates a new SendMessageBytesParams object with the default values initialized.
NewSendMessageBytesParamsWithContext creates a new SendMessageBytesParams object with the default values initialized, and the ability to set a context for a request.
NewSendMessageBytesParamsWithHTTPClient creates a new SendMessageBytesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewSendMessageBytesParamsWithTimeout creates a new SendMessageBytesParams object with the default values initialized, and the ability to set a timeout on a request.
NewSendMessageBytesUnauthorized creates a SendMessageBytesUnauthorized with default headers values.
NewSendMessageEnhanceYourCalm creates a SendMessageEnhanceYourCalm with default headers values.
NewSendMessageForbidden creates a SendMessageForbidden with default headers values.
NewSendMessageInternalServerError creates a SendMessageInternalServerError with default headers values.
NewSendMessageNotFound creates a SendMessageNotFound with default headers values.
NewSendMessageOK creates a SendMessageOK with default headers values.
NewSendMessageParams creates a new SendMessageParams object with the default values initialized.
NewSendMessageParamsWithContext creates a new SendMessageParams object with the default values initialized, and the ability to set a context for a request.
NewSendMessageParamsWithHTTPClient creates a new SendMessageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewSendMessageParamsWithTimeout creates a new SendMessageParams object with the default values initialized, and the ability to set a timeout on a request.
NewSendMessageUnauthorized creates a SendMessageUnauthorized with default headers values.

# Structs

Client for messages API */.
DeleteMessageBadRequest handles this case with default header values.
DeleteMessageEnhanceYourCalm handles this case with default header values.
DeleteMessageForbidden handles this case with default header values.
DeleteMessageInternalServerError handles this case with default header values.
DeleteMessageNotFound handles this case with default header values.
DeleteMessageOK handles this case with default header values.
DeleteMessageParams contains all the parameters to send to the API endpoint for the delete message operation typically these are written to a http.Request */.
DeleteMessageReader is a Reader for the DeleteMessage structure.
DeleteMessageUnauthorized handles this case with default header values.
EditMessageCaptionBadRequest handles this case with default header values.
EditMessageCaptionEnhanceYourCalm handles this case with default header values.
EditMessageCaptionForbidden handles this case with default header values.
EditMessageCaptionInternalServerError handles this case with default header values.
EditMessageCaptionNotFound handles this case with default header values.
EditMessageCaptionOK handles this case with default header values.
EditMessageCaptionOKBody edit message caption o k body swagger:model EditMessageCaptionOKBody */.
EditMessageCaptionParams contains all the parameters to send to the API endpoint for the edit message caption operation typically these are written to a http.Request */.
EditMessageCaptionReader is a Reader for the EditMessageCaption structure.
EditMessageCaptionUnauthorized handles this case with default header values.
EditMessageReplyMarkupBadRequest handles this case with default header values.
EditMessageReplyMarkupEnhanceYourCalm handles this case with default header values.
EditMessageReplyMarkupForbidden handles this case with default header values.
EditMessageReplyMarkupInternalServerError handles this case with default header values.
EditMessageReplyMarkupNotFound handles this case with default header values.
EditMessageReplyMarkupOK handles this case with default header values.
EditMessageReplyMarkupOKBody edit message reply markup o k body swagger:model EditMessageReplyMarkupOKBody */.
EditMessageReplyMarkupParams contains all the parameters to send to the API endpoint for the edit message reply markup operation typically these are written to a http.Request */.
EditMessageReplyMarkupReader is a Reader for the EditMessageReplyMarkup structure.
EditMessageReplyMarkupUnauthorized handles this case with default header values.
EditMessageTextBadRequest handles this case with default header values.
EditMessageTextEnhanceYourCalm handles this case with default header values.
EditMessageTextForbidden handles this case with default header values.
EditMessageTextInternalServerError handles this case with default header values.
EditMessageTextNotFound handles this case with default header values.
EditMessageTextOK handles this case with default header values.
EditMessageTextOKBody edit message text o k body swagger:model EditMessageTextOKBody */.
EditMessageTextParams contains all the parameters to send to the API endpoint for the edit message text operation typically these are written to a http.Request */.
EditMessageTextReader is a Reader for the EditMessageText structure.
EditMessageTextUnauthorized handles this case with default header values.
ForwardMessageBadRequest handles this case with default header values.
ForwardMessageEnhanceYourCalm handles this case with default header values.
ForwardMessageForbidden handles this case with default header values.
ForwardMessageInternalServerError handles this case with default header values.
ForwardMessageNotFound handles this case with default header values.
ForwardMessageOK handles this case with default header values.
ForwardMessageParams contains all the parameters to send to the API endpoint for the forward message operation typically these are written to a http.Request */.
ForwardMessageReader is a Reader for the ForwardMessage structure.
ForwardMessageUnauthorized handles this case with default header values.
SendMessageBadRequest handles this case with default header values.
SendMessageBytesBadRequest handles this case with default header values.
SendMessageBytesEnhanceYourCalm handles this case with default header values.
SendMessageBytesForbidden handles this case with default header values.
SendMessageBytesInternalServerError handles this case with default header values.
SendMessageBytesNotFound handles this case with default header values.
SendMessageBytesOK handles this case with default header values.
SendMessageBytesParams contains all the parameters to send to the API endpoint for the send message bytes operation typically these are written to a http.Request */.
SendMessageBytesReader is a Reader for the SendMessageBytes structure.
SendMessageBytesUnauthorized handles this case with default header values.
SendMessageEnhanceYourCalm handles this case with default header values.
SendMessageForbidden handles this case with default header values.
SendMessageInternalServerError handles this case with default header values.
SendMessageNotFound handles this case with default header values.
SendMessageOK handles this case with default header values.
SendMessageParams contains all the parameters to send to the API endpoint for the send message operation typically these are written to a http.Request */.
SendMessageReader is a Reader for the SendMessage structure.
SendMessageUnauthorized handles this case with default header values.