attachments

package
v3.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for attachments API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new attachments API client.

func (*Client) GetFile

func (a *Client) GetFile(params *GetFileParams) (*GetFileOK, error)

GetFile get file API

func (*Client) SendAudio

func (a *Client) SendAudio(params *SendAudioParams) (*SendAudioOK, error)

SendAudio send audio API

func (a *Client) SendAudioLink(params *SendAudioLinkParams) (*SendAudioLinkOK, error)

SendAudioLink send audio link API

func (*Client) SendContact

func (a *Client) SendContact(params *SendContactParams) (*SendContactOK, error)

SendContact send contact API

func (*Client) SendDocument

func (a *Client) SendDocument(params *SendDocumentParams) (*SendDocumentOK, error)

SendDocument send document API

func (a *Client) SendDocumentLink(params *SendDocumentLinkParams) (*SendDocumentLinkOK, error)

SendDocumentLink send document link API

func (*Client) SendLocation

func (a *Client) SendLocation(params *SendLocationParams) (*SendLocationOK, error)

SendLocation send location API

func (*Client) SendPhoto

func (a *Client) SendPhoto(params *SendPhotoParams) (*SendPhotoOK, error)

SendPhoto send photo API

func (a *Client) SendPhotoLink(params *SendPhotoLinkParams) (*SendPhotoLinkOK, error)

SendPhotoLink send photo link API

func (*Client) SendSticker

func (a *Client) SendSticker(params *SendStickerParams) (*SendStickerOK, error)

SendSticker send sticker API

func (a *Client) SendStickerLink(params *SendStickerLinkParams) (*SendStickerLinkOK, error)

SendStickerLink send sticker link API

func (*Client) SendVenue

func (a *Client) SendVenue(params *SendVenueParams) (*SendVenueOK, error)

SendVenue send venue API

func (*Client) SendVideo

func (a *Client) SendVideo(params *SendVideoParams) (*SendVideoOK, error)

SendVideo send video API

func (a *Client) SendVideoLink(params *SendVideoLinkParams) (*SendVideoLinkOK, error)

SendVideoLink send video link API

func (*Client) SendVideoNote

func (a *Client) SendVideoNote(params *SendVideoNoteParams) (*SendVideoNoteOK, error)

SendVideoNote send video note API

func (a *Client) SendVideoNoteLink(params *SendVideoNoteLinkParams) (*SendVideoNoteLinkOK, error)

SendVideoNoteLink send video note link API

func (*Client) SendVoice

func (a *Client) SendVoice(params *SendVoiceParams) (*SendVoiceOK, error)

SendVoice send voice API

func (a *Client) SendVoiceLink(params *SendVoiceLinkParams) (*SendVoiceLinkOK, error)

SendVoiceLink send voice link API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetFileBadRequest

type GetFileBadRequest struct {
	Payload *models.Error
}

GetFileBadRequest handles this case with default header values.

Bad Request

func NewGetFileBadRequest

func NewGetFileBadRequest() *GetFileBadRequest

NewGetFileBadRequest creates a GetFileBadRequest with default headers values

func (*GetFileBadRequest) Error

func (o *GetFileBadRequest) Error() string

type GetFileEnhanceYourCalm

type GetFileEnhanceYourCalm struct {
	Payload *models.Error
}

GetFileEnhanceYourCalm handles this case with default header values.

Flood

func NewGetFileEnhanceYourCalm

func NewGetFileEnhanceYourCalm() *GetFileEnhanceYourCalm

NewGetFileEnhanceYourCalm creates a GetFileEnhanceYourCalm with default headers values

func (*GetFileEnhanceYourCalm) Error

func (o *GetFileEnhanceYourCalm) Error() string

type GetFileForbidden

type GetFileForbidden struct {
	Payload *models.Error
}

GetFileForbidden handles this case with default header values.

Forbidden

func NewGetFileForbidden

func NewGetFileForbidden() *GetFileForbidden

NewGetFileForbidden creates a GetFileForbidden with default headers values

func (*GetFileForbidden) Error

func (o *GetFileForbidden) Error() string

type GetFileInternalServerError

type GetFileInternalServerError struct {
	Payload *models.Error
}

GetFileInternalServerError handles this case with default header values.

Internal

func NewGetFileInternalServerError

func NewGetFileInternalServerError() *GetFileInternalServerError

NewGetFileInternalServerError creates a GetFileInternalServerError with default headers values

func (*GetFileInternalServerError) Error

type GetFileNotFound

type GetFileNotFound struct {
	Payload *models.Error
}

GetFileNotFound handles this case with default header values.

Not Found

func NewGetFileNotFound

func NewGetFileNotFound() *GetFileNotFound

NewGetFileNotFound creates a GetFileNotFound with default headers values

func (*GetFileNotFound) Error

func (o *GetFileNotFound) Error() string

type GetFileOK

type GetFileOK struct {
	Payload GetFileOKBody
}

GetFileOK handles this case with default header values.

GetFileOK get file o k

func NewGetFileOK

func NewGetFileOK() *GetFileOK

NewGetFileOK creates a GetFileOK with default headers values

func (*GetFileOK) Error

func (o *GetFileOK) Error() string

type GetFileOKBody

type GetFileOKBody struct {

	// description
	// Required: true
	Description *string `json:"description"`

	// error code
	// Required: true
	ErrorCode *int64 `json:"error_code"`

	// ok
	// Required: true
	Ok *bool `json:"ok"`

	// result
	// Required: true
	Result *models.File `json:"result"`
}

GetFileOKBody get file o k body swagger:model GetFileOKBody

func (*GetFileOKBody) MarshalBinary

func (o *GetFileOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFileOKBody) UnmarshalBinary

func (o *GetFileOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFileOKBody) Validate

func (o *GetFileOKBody) Validate(formats strfmt.Registry) error

Validate validates this get file o k body

type GetFileParams

type GetFileParams struct {

	/*FileID*/
	FileID string
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFileParams contains all the parameters to send to the API endpoint for the get file operation typically these are written to a http.Request

func NewGetFileParams

func NewGetFileParams() *GetFileParams

NewGetFileParams creates a new GetFileParams object with the default values initialized.

func NewGetFileParamsWithContext

func NewGetFileParamsWithContext(ctx context.Context) *GetFileParams

NewGetFileParamsWithContext creates a new GetFileParams object with the default values initialized, and the ability to set a context for a request

func NewGetFileParamsWithHTTPClient

func NewGetFileParamsWithHTTPClient(client *http.Client) *GetFileParams

NewGetFileParamsWithHTTPClient creates a new GetFileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetFileParamsWithTimeout

func NewGetFileParamsWithTimeout(timeout time.Duration) *GetFileParams

NewGetFileParamsWithTimeout creates a new GetFileParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetFileParams) SetContext

func (o *GetFileParams) SetContext(ctx context.Context)

SetContext adds the context to the get file params

func (*GetFileParams) SetFileID

func (o *GetFileParams) SetFileID(fileID string)

SetFileID adds the fileId to the get file params

func (*GetFileParams) SetHTTPClient

func (o *GetFileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get file params

func (*GetFileParams) SetTimeout

func (o *GetFileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get file params

func (*GetFileParams) SetToken

func (o *GetFileParams) SetToken(token *string)

SetToken adds the token to the get file params

func (*GetFileParams) WithContext

func (o *GetFileParams) WithContext(ctx context.Context) *GetFileParams

WithContext adds the context to the get file params

func (*GetFileParams) WithFileID

func (o *GetFileParams) WithFileID(fileID string) *GetFileParams

WithFileID adds the fileID to the get file params

func (*GetFileParams) WithHTTPClient

func (o *GetFileParams) WithHTTPClient(client *http.Client) *GetFileParams

WithHTTPClient adds the HTTPClient to the get file params

func (*GetFileParams) WithTimeout

func (o *GetFileParams) WithTimeout(timeout time.Duration) *GetFileParams

WithTimeout adds the timeout to the get file params

func (*GetFileParams) WithToken

func (o *GetFileParams) WithToken(token *string) *GetFileParams

WithToken adds the token to the get file params

func (*GetFileParams) WriteToRequest

func (o *GetFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFileReader

type GetFileReader struct {
	// contains filtered or unexported fields
}

GetFileReader is a Reader for the GetFile structure.

func (*GetFileReader) ReadResponse

func (o *GetFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetFileUnauthorized

type GetFileUnauthorized struct {
	Payload *models.Error
}

GetFileUnauthorized handles this case with default header values.

Unauthorized

func NewGetFileUnauthorized

func NewGetFileUnauthorized() *GetFileUnauthorized

NewGetFileUnauthorized creates a GetFileUnauthorized with default headers values

func (*GetFileUnauthorized) Error

func (o *GetFileUnauthorized) Error() string

type SendAudioBadRequest

type SendAudioBadRequest struct {
	Payload *models.Error
}

SendAudioBadRequest handles this case with default header values.

Bad Request

func NewSendAudioBadRequest

func NewSendAudioBadRequest() *SendAudioBadRequest

NewSendAudioBadRequest creates a SendAudioBadRequest with default headers values

func (*SendAudioBadRequest) Error

func (o *SendAudioBadRequest) Error() string

type SendAudioEnhanceYourCalm

type SendAudioEnhanceYourCalm struct {
	Payload *models.Error
}

SendAudioEnhanceYourCalm handles this case with default header values.

Flood

func NewSendAudioEnhanceYourCalm

func NewSendAudioEnhanceYourCalm() *SendAudioEnhanceYourCalm

NewSendAudioEnhanceYourCalm creates a SendAudioEnhanceYourCalm with default headers values

func (*SendAudioEnhanceYourCalm) Error

func (o *SendAudioEnhanceYourCalm) Error() string

type SendAudioForbidden

type SendAudioForbidden struct {
	Payload *models.Error
}

SendAudioForbidden handles this case with default header values.

Forbidden

func NewSendAudioForbidden

func NewSendAudioForbidden() *SendAudioForbidden

NewSendAudioForbidden creates a SendAudioForbidden with default headers values

func (*SendAudioForbidden) Error

func (o *SendAudioForbidden) Error() string

type SendAudioInternalServerError

type SendAudioInternalServerError struct {
	Payload *models.Error
}

SendAudioInternalServerError handles this case with default header values.

Internal

func NewSendAudioInternalServerError

func NewSendAudioInternalServerError() *SendAudioInternalServerError

NewSendAudioInternalServerError creates a SendAudioInternalServerError with default headers values

func (*SendAudioInternalServerError) Error

type SendAudioLinkBadRequest

type SendAudioLinkBadRequest struct {
	Payload *models.Error
}

SendAudioLinkBadRequest handles this case with default header values.

Bad Request

func NewSendAudioLinkBadRequest

func NewSendAudioLinkBadRequest() *SendAudioLinkBadRequest

NewSendAudioLinkBadRequest creates a SendAudioLinkBadRequest with default headers values

func (*SendAudioLinkBadRequest) Error

func (o *SendAudioLinkBadRequest) Error() string

type SendAudioLinkEnhanceYourCalm

type SendAudioLinkEnhanceYourCalm struct {
	Payload *models.Error
}

SendAudioLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewSendAudioLinkEnhanceYourCalm

func NewSendAudioLinkEnhanceYourCalm() *SendAudioLinkEnhanceYourCalm

NewSendAudioLinkEnhanceYourCalm creates a SendAudioLinkEnhanceYourCalm with default headers values

func (*SendAudioLinkEnhanceYourCalm) Error

type SendAudioLinkForbidden

type SendAudioLinkForbidden struct {
	Payload *models.Error
}

SendAudioLinkForbidden handles this case with default header values.

Forbidden

func NewSendAudioLinkForbidden

func NewSendAudioLinkForbidden() *SendAudioLinkForbidden

NewSendAudioLinkForbidden creates a SendAudioLinkForbidden with default headers values

func (*SendAudioLinkForbidden) Error

func (o *SendAudioLinkForbidden) Error() string

type SendAudioLinkInternalServerError

type SendAudioLinkInternalServerError struct {
	Payload *models.Error
}

SendAudioLinkInternalServerError handles this case with default header values.

Internal

func NewSendAudioLinkInternalServerError

func NewSendAudioLinkInternalServerError() *SendAudioLinkInternalServerError

NewSendAudioLinkInternalServerError creates a SendAudioLinkInternalServerError with default headers values

func (*SendAudioLinkInternalServerError) Error

type SendAudioLinkNotFound

type SendAudioLinkNotFound struct {
	Payload *models.Error
}

SendAudioLinkNotFound handles this case with default header values.

Not Found

func NewSendAudioLinkNotFound

func NewSendAudioLinkNotFound() *SendAudioLinkNotFound

NewSendAudioLinkNotFound creates a SendAudioLinkNotFound with default headers values

func (*SendAudioLinkNotFound) Error

func (o *SendAudioLinkNotFound) Error() string

type SendAudioLinkOK

type SendAudioLinkOK struct {
	Payload *models.ResponseMessage
}

SendAudioLinkOK handles this case with default header values.

SendAudioLinkOK send audio link o k

func NewSendAudioLinkOK

func NewSendAudioLinkOK() *SendAudioLinkOK

NewSendAudioLinkOK creates a SendAudioLinkOK with default headers values

func (*SendAudioLinkOK) Error

func (o *SendAudioLinkOK) Error() string

type SendAudioLinkParams

type SendAudioLinkParams struct {

	/*Body*/
	Body *models.SendAudioLinkBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendAudioLinkParams contains all the parameters to send to the API endpoint for the send audio link operation typically these are written to a http.Request

func NewSendAudioLinkParams

func NewSendAudioLinkParams() *SendAudioLinkParams

NewSendAudioLinkParams creates a new SendAudioLinkParams object with the default values initialized.

func NewSendAudioLinkParamsWithContext

func NewSendAudioLinkParamsWithContext(ctx context.Context) *SendAudioLinkParams

NewSendAudioLinkParamsWithContext creates a new SendAudioLinkParams object with the default values initialized, and the ability to set a context for a request

func NewSendAudioLinkParamsWithHTTPClient

func NewSendAudioLinkParamsWithHTTPClient(client *http.Client) *SendAudioLinkParams

NewSendAudioLinkParamsWithHTTPClient creates a new SendAudioLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendAudioLinkParamsWithTimeout

func NewSendAudioLinkParamsWithTimeout(timeout time.Duration) *SendAudioLinkParams

NewSendAudioLinkParamsWithTimeout creates a new SendAudioLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendAudioLinkParams) SetBody

func (o *SendAudioLinkParams) SetBody(body *models.SendAudioLinkBody)

SetBody adds the body to the send audio link params

func (*SendAudioLinkParams) SetContext

func (o *SendAudioLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the send audio link params

func (*SendAudioLinkParams) SetHTTPClient

func (o *SendAudioLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send audio link params

func (*SendAudioLinkParams) SetTimeout

func (o *SendAudioLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send audio link params

func (*SendAudioLinkParams) SetToken

func (o *SendAudioLinkParams) SetToken(token *string)

SetToken adds the token to the send audio link params

func (*SendAudioLinkParams) WithBody

WithBody adds the body to the send audio link params

func (*SendAudioLinkParams) WithContext

WithContext adds the context to the send audio link params

func (*SendAudioLinkParams) WithHTTPClient

func (o *SendAudioLinkParams) WithHTTPClient(client *http.Client) *SendAudioLinkParams

WithHTTPClient adds the HTTPClient to the send audio link params

func (*SendAudioLinkParams) WithTimeout

func (o *SendAudioLinkParams) WithTimeout(timeout time.Duration) *SendAudioLinkParams

WithTimeout adds the timeout to the send audio link params

func (*SendAudioLinkParams) WithToken

func (o *SendAudioLinkParams) WithToken(token *string) *SendAudioLinkParams

WithToken adds the token to the send audio link params

func (*SendAudioLinkParams) WriteToRequest

func (o *SendAudioLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendAudioLinkReader

type SendAudioLinkReader struct {
	// contains filtered or unexported fields
}

SendAudioLinkReader is a Reader for the SendAudioLink structure.

func (*SendAudioLinkReader) ReadResponse

func (o *SendAudioLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendAudioLinkUnauthorized

type SendAudioLinkUnauthorized struct {
	Payload *models.Error
}

SendAudioLinkUnauthorized handles this case with default header values.

Unauthorized

func NewSendAudioLinkUnauthorized

func NewSendAudioLinkUnauthorized() *SendAudioLinkUnauthorized

NewSendAudioLinkUnauthorized creates a SendAudioLinkUnauthorized with default headers values

func (*SendAudioLinkUnauthorized) Error

func (o *SendAudioLinkUnauthorized) Error() string

type SendAudioNotFound

type SendAudioNotFound struct {
	Payload *models.Error
}

SendAudioNotFound handles this case with default header values.

Not Found

func NewSendAudioNotFound

func NewSendAudioNotFound() *SendAudioNotFound

NewSendAudioNotFound creates a SendAudioNotFound with default headers values

func (*SendAudioNotFound) Error

func (o *SendAudioNotFound) Error() string

type SendAudioOK

type SendAudioOK struct {
	Payload *models.ResponseMessage
}

SendAudioOK handles this case with default header values.

SendAudioOK send audio o k

func NewSendAudioOK

func NewSendAudioOK() *SendAudioOK

NewSendAudioOK creates a SendAudioOK with default headers values

func (*SendAudioOK) Error

func (o *SendAudioOK) Error() string

type SendAudioParams

type SendAudioParams struct {

	/*Audio*/
	Audio runtime.NamedReadCloser
	/*Caption*/
	Caption *string
	/*ChatID*/
	ChatID string
	/*DisableNotification*/
	DisableNotification *bool
	/*Duration*/
	Duration *int64
	/*Performer*/
	Performer *string
	/*ReplyMarkup
	  json string of reply_markup object

	*/
	ReplyMarkup *string
	/*ReplyToMessageID*/
	ReplyToMessageID *int64
	/*Title*/
	Title *string
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendAudioParams contains all the parameters to send to the API endpoint for the send audio operation typically these are written to a http.Request

func NewSendAudioParams

func NewSendAudioParams() *SendAudioParams

NewSendAudioParams creates a new SendAudioParams object with the default values initialized.

func NewSendAudioParamsWithContext

func NewSendAudioParamsWithContext(ctx context.Context) *SendAudioParams

NewSendAudioParamsWithContext creates a new SendAudioParams object with the default values initialized, and the ability to set a context for a request

func NewSendAudioParamsWithHTTPClient

func NewSendAudioParamsWithHTTPClient(client *http.Client) *SendAudioParams

NewSendAudioParamsWithHTTPClient creates a new SendAudioParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendAudioParamsWithTimeout

func NewSendAudioParamsWithTimeout(timeout time.Duration) *SendAudioParams

NewSendAudioParamsWithTimeout creates a new SendAudioParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendAudioParams) SetAudio

func (o *SendAudioParams) SetAudio(audio runtime.NamedReadCloser)

SetAudio adds the audio to the send audio params

func (*SendAudioParams) SetCaption

func (o *SendAudioParams) SetCaption(caption *string)

SetCaption adds the caption to the send audio params

func (*SendAudioParams) SetChatID

func (o *SendAudioParams) SetChatID(chatID string)

SetChatID adds the chatId to the send audio params

func (*SendAudioParams) SetContext

func (o *SendAudioParams) SetContext(ctx context.Context)

SetContext adds the context to the send audio params

func (*SendAudioParams) SetDisableNotification

func (o *SendAudioParams) SetDisableNotification(disableNotification *bool)

SetDisableNotification adds the disableNotification to the send audio params

func (*SendAudioParams) SetDuration

func (o *SendAudioParams) SetDuration(duration *int64)

SetDuration adds the duration to the send audio params

func (*SendAudioParams) SetHTTPClient

func (o *SendAudioParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send audio params

func (*SendAudioParams) SetPerformer

func (o *SendAudioParams) SetPerformer(performer *string)

SetPerformer adds the performer to the send audio params

func (*SendAudioParams) SetReplyMarkup

func (o *SendAudioParams) SetReplyMarkup(replyMarkup *string)

SetReplyMarkup adds the replyMarkup to the send audio params

func (*SendAudioParams) SetReplyToMessageID

func (o *SendAudioParams) SetReplyToMessageID(replyToMessageID *int64)

SetReplyToMessageID adds the replyToMessageId to the send audio params

func (*SendAudioParams) SetTimeout

func (o *SendAudioParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send audio params

func (*SendAudioParams) SetTitle

func (o *SendAudioParams) SetTitle(title *string)

SetTitle adds the title to the send audio params

func (*SendAudioParams) SetToken

func (o *SendAudioParams) SetToken(token *string)

SetToken adds the token to the send audio params

func (*SendAudioParams) WithAudio

WithAudio adds the audio to the send audio params

func (*SendAudioParams) WithCaption

func (o *SendAudioParams) WithCaption(caption *string) *SendAudioParams

WithCaption adds the caption to the send audio params

func (*SendAudioParams) WithChatID

func (o *SendAudioParams) WithChatID(chatID string) *SendAudioParams

WithChatID adds the chatID to the send audio params

func (*SendAudioParams) WithContext

func (o *SendAudioParams) WithContext(ctx context.Context) *SendAudioParams

WithContext adds the context to the send audio params

func (*SendAudioParams) WithDisableNotification

func (o *SendAudioParams) WithDisableNotification(disableNotification *bool) *SendAudioParams

WithDisableNotification adds the disableNotification to the send audio params

func (*SendAudioParams) WithDuration

func (o *SendAudioParams) WithDuration(duration *int64) *SendAudioParams

WithDuration adds the duration to the send audio params

func (*SendAudioParams) WithHTTPClient

func (o *SendAudioParams) WithHTTPClient(client *http.Client) *SendAudioParams

WithHTTPClient adds the HTTPClient to the send audio params

func (*SendAudioParams) WithPerformer

func (o *SendAudioParams) WithPerformer(performer *string) *SendAudioParams

WithPerformer adds the performer to the send audio params

func (*SendAudioParams) WithReplyMarkup

func (o *SendAudioParams) WithReplyMarkup(replyMarkup *string) *SendAudioParams

WithReplyMarkup adds the replyMarkup to the send audio params

func (*SendAudioParams) WithReplyToMessageID

func (o *SendAudioParams) WithReplyToMessageID(replyToMessageID *int64) *SendAudioParams

WithReplyToMessageID adds the replyToMessageID to the send audio params

func (*SendAudioParams) WithTimeout

func (o *SendAudioParams) WithTimeout(timeout time.Duration) *SendAudioParams

WithTimeout adds the timeout to the send audio params

func (*SendAudioParams) WithTitle

func (o *SendAudioParams) WithTitle(title *string) *SendAudioParams

WithTitle adds the title to the send audio params

func (*SendAudioParams) WithToken

func (o *SendAudioParams) WithToken(token *string) *SendAudioParams

WithToken adds the token to the send audio params

func (*SendAudioParams) WriteToRequest

func (o *SendAudioParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendAudioReader

type SendAudioReader struct {
	// contains filtered or unexported fields
}

SendAudioReader is a Reader for the SendAudio structure.

func (*SendAudioReader) ReadResponse

func (o *SendAudioReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendAudioUnauthorized

type SendAudioUnauthorized struct {
	Payload *models.Error
}

SendAudioUnauthorized handles this case with default header values.

Unauthorized

func NewSendAudioUnauthorized

func NewSendAudioUnauthorized() *SendAudioUnauthorized

NewSendAudioUnauthorized creates a SendAudioUnauthorized with default headers values

func (*SendAudioUnauthorized) Error

func (o *SendAudioUnauthorized) Error() string

type SendContactBadRequest

type SendContactBadRequest struct {
	Payload *models.Error
}

SendContactBadRequest handles this case with default header values.

Bad Request

func NewSendContactBadRequest

func NewSendContactBadRequest() *SendContactBadRequest

NewSendContactBadRequest creates a SendContactBadRequest with default headers values

func (*SendContactBadRequest) Error

func (o *SendContactBadRequest) Error() string

type SendContactEnhanceYourCalm

type SendContactEnhanceYourCalm struct {
	Payload *models.Error
}

SendContactEnhanceYourCalm handles this case with default header values.

Flood

func NewSendContactEnhanceYourCalm

func NewSendContactEnhanceYourCalm() *SendContactEnhanceYourCalm

NewSendContactEnhanceYourCalm creates a SendContactEnhanceYourCalm with default headers values

func (*SendContactEnhanceYourCalm) Error

type SendContactForbidden

type SendContactForbidden struct {
	Payload *models.Error
}

SendContactForbidden handles this case with default header values.

Forbidden

func NewSendContactForbidden

func NewSendContactForbidden() *SendContactForbidden

NewSendContactForbidden creates a SendContactForbidden with default headers values

func (*SendContactForbidden) Error

func (o *SendContactForbidden) Error() string

type SendContactInternalServerError

type SendContactInternalServerError struct {
	Payload *models.Error
}

SendContactInternalServerError handles this case with default header values.

Internal

func NewSendContactInternalServerError

func NewSendContactInternalServerError() *SendContactInternalServerError

NewSendContactInternalServerError creates a SendContactInternalServerError with default headers values

func (*SendContactInternalServerError) Error

type SendContactNotFound

type SendContactNotFound struct {
	Payload *models.Error
}

SendContactNotFound handles this case with default header values.

Not Found

func NewSendContactNotFound

func NewSendContactNotFound() *SendContactNotFound

NewSendContactNotFound creates a SendContactNotFound with default headers values

func (*SendContactNotFound) Error

func (o *SendContactNotFound) Error() string

type SendContactOK

type SendContactOK struct {
	Payload *models.ResponseMessage
}

SendContactOK handles this case with default header values.

SendContactOK send contact o k

func NewSendContactOK

func NewSendContactOK() *SendContactOK

NewSendContactOK creates a SendContactOK with default headers values

func (*SendContactOK) Error

func (o *SendContactOK) Error() string

type SendContactParams

type SendContactParams struct {

	/*Body*/
	Body *models.SendContactBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendContactParams contains all the parameters to send to the API endpoint for the send contact operation typically these are written to a http.Request

func NewSendContactParams

func NewSendContactParams() *SendContactParams

NewSendContactParams creates a new SendContactParams object with the default values initialized.

func NewSendContactParamsWithContext

func NewSendContactParamsWithContext(ctx context.Context) *SendContactParams

NewSendContactParamsWithContext creates a new SendContactParams object with the default values initialized, and the ability to set a context for a request

func NewSendContactParamsWithHTTPClient

func NewSendContactParamsWithHTTPClient(client *http.Client) *SendContactParams

NewSendContactParamsWithHTTPClient creates a new SendContactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendContactParamsWithTimeout

func NewSendContactParamsWithTimeout(timeout time.Duration) *SendContactParams

NewSendContactParamsWithTimeout creates a new SendContactParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendContactParams) SetBody

func (o *SendContactParams) SetBody(body *models.SendContactBody)

SetBody adds the body to the send contact params

func (*SendContactParams) SetContext

func (o *SendContactParams) SetContext(ctx context.Context)

SetContext adds the context to the send contact params

func (*SendContactParams) SetHTTPClient

func (o *SendContactParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send contact params

func (*SendContactParams) SetTimeout

func (o *SendContactParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send contact params

func (*SendContactParams) SetToken

func (o *SendContactParams) SetToken(token *string)

SetToken adds the token to the send contact params

func (*SendContactParams) WithBody

WithBody adds the body to the send contact params

func (*SendContactParams) WithContext

func (o *SendContactParams) WithContext(ctx context.Context) *SendContactParams

WithContext adds the context to the send contact params

func (*SendContactParams) WithHTTPClient

func (o *SendContactParams) WithHTTPClient(client *http.Client) *SendContactParams

WithHTTPClient adds the HTTPClient to the send contact params

func (*SendContactParams) WithTimeout

func (o *SendContactParams) WithTimeout(timeout time.Duration) *SendContactParams

WithTimeout adds the timeout to the send contact params

func (*SendContactParams) WithToken

func (o *SendContactParams) WithToken(token *string) *SendContactParams

WithToken adds the token to the send contact params

func (*SendContactParams) WriteToRequest

func (o *SendContactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendContactReader

type SendContactReader struct {
	// contains filtered or unexported fields
}

SendContactReader is a Reader for the SendContact structure.

func (*SendContactReader) ReadResponse

func (o *SendContactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendContactUnauthorized

type SendContactUnauthorized struct {
	Payload *models.Error
}

SendContactUnauthorized handles this case with default header values.

Unauthorized

func NewSendContactUnauthorized

func NewSendContactUnauthorized() *SendContactUnauthorized

NewSendContactUnauthorized creates a SendContactUnauthorized with default headers values

func (*SendContactUnauthorized) Error

func (o *SendContactUnauthorized) Error() string

type SendDocumentBadRequest

type SendDocumentBadRequest struct {
	Payload *models.Error
}

SendDocumentBadRequest handles this case with default header values.

Bad Request

func NewSendDocumentBadRequest

func NewSendDocumentBadRequest() *SendDocumentBadRequest

NewSendDocumentBadRequest creates a SendDocumentBadRequest with default headers values

func (*SendDocumentBadRequest) Error

func (o *SendDocumentBadRequest) Error() string

type SendDocumentEnhanceYourCalm

type SendDocumentEnhanceYourCalm struct {
	Payload *models.Error
}

SendDocumentEnhanceYourCalm handles this case with default header values.

Flood

func NewSendDocumentEnhanceYourCalm

func NewSendDocumentEnhanceYourCalm() *SendDocumentEnhanceYourCalm

NewSendDocumentEnhanceYourCalm creates a SendDocumentEnhanceYourCalm with default headers values

func (*SendDocumentEnhanceYourCalm) Error

type SendDocumentForbidden

type SendDocumentForbidden struct {
	Payload *models.Error
}

SendDocumentForbidden handles this case with default header values.

Forbidden

func NewSendDocumentForbidden

func NewSendDocumentForbidden() *SendDocumentForbidden

NewSendDocumentForbidden creates a SendDocumentForbidden with default headers values

func (*SendDocumentForbidden) Error

func (o *SendDocumentForbidden) Error() string

type SendDocumentInternalServerError

type SendDocumentInternalServerError struct {
	Payload *models.Error
}

SendDocumentInternalServerError handles this case with default header values.

Internal

func NewSendDocumentInternalServerError

func NewSendDocumentInternalServerError() *SendDocumentInternalServerError

NewSendDocumentInternalServerError creates a SendDocumentInternalServerError with default headers values

func (*SendDocumentInternalServerError) Error

type SendDocumentLinkBadRequest

type SendDocumentLinkBadRequest struct {
	Payload *models.Error
}

SendDocumentLinkBadRequest handles this case with default header values.

Bad Request

func NewSendDocumentLinkBadRequest

func NewSendDocumentLinkBadRequest() *SendDocumentLinkBadRequest

NewSendDocumentLinkBadRequest creates a SendDocumentLinkBadRequest with default headers values

func (*SendDocumentLinkBadRequest) Error

type SendDocumentLinkEnhanceYourCalm

type SendDocumentLinkEnhanceYourCalm struct {
	Payload *models.Error
}

SendDocumentLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewSendDocumentLinkEnhanceYourCalm

func NewSendDocumentLinkEnhanceYourCalm() *SendDocumentLinkEnhanceYourCalm

NewSendDocumentLinkEnhanceYourCalm creates a SendDocumentLinkEnhanceYourCalm with default headers values

func (*SendDocumentLinkEnhanceYourCalm) Error

type SendDocumentLinkForbidden

type SendDocumentLinkForbidden struct {
	Payload *models.Error
}

SendDocumentLinkForbidden handles this case with default header values.

Forbidden

func NewSendDocumentLinkForbidden

func NewSendDocumentLinkForbidden() *SendDocumentLinkForbidden

NewSendDocumentLinkForbidden creates a SendDocumentLinkForbidden with default headers values

func (*SendDocumentLinkForbidden) Error

func (o *SendDocumentLinkForbidden) Error() string

type SendDocumentLinkInternalServerError

type SendDocumentLinkInternalServerError struct {
	Payload *models.Error
}

SendDocumentLinkInternalServerError handles this case with default header values.

Internal

func NewSendDocumentLinkInternalServerError

func NewSendDocumentLinkInternalServerError() *SendDocumentLinkInternalServerError

NewSendDocumentLinkInternalServerError creates a SendDocumentLinkInternalServerError with default headers values

func (*SendDocumentLinkInternalServerError) Error

type SendDocumentLinkNotFound

type SendDocumentLinkNotFound struct {
	Payload *models.Error
}

SendDocumentLinkNotFound handles this case with default header values.

Not Found

func NewSendDocumentLinkNotFound

func NewSendDocumentLinkNotFound() *SendDocumentLinkNotFound

NewSendDocumentLinkNotFound creates a SendDocumentLinkNotFound with default headers values

func (*SendDocumentLinkNotFound) Error

func (o *SendDocumentLinkNotFound) Error() string

type SendDocumentLinkOK

type SendDocumentLinkOK struct {
	Payload *models.ResponseMessage
}

SendDocumentLinkOK handles this case with default header values.

SendDocumentLinkOK send document link o k

func NewSendDocumentLinkOK

func NewSendDocumentLinkOK() *SendDocumentLinkOK

NewSendDocumentLinkOK creates a SendDocumentLinkOK with default headers values

func (*SendDocumentLinkOK) Error

func (o *SendDocumentLinkOK) Error() string

type SendDocumentLinkParams

type SendDocumentLinkParams struct {

	/*Body*/
	Body *models.SendDocumentLinkBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendDocumentLinkParams contains all the parameters to send to the API endpoint for the send document link operation typically these are written to a http.Request

func NewSendDocumentLinkParams

func NewSendDocumentLinkParams() *SendDocumentLinkParams

NewSendDocumentLinkParams creates a new SendDocumentLinkParams object with the default values initialized.

func NewSendDocumentLinkParamsWithContext

func NewSendDocumentLinkParamsWithContext(ctx context.Context) *SendDocumentLinkParams

NewSendDocumentLinkParamsWithContext creates a new SendDocumentLinkParams object with the default values initialized, and the ability to set a context for a request

func NewSendDocumentLinkParamsWithHTTPClient

func NewSendDocumentLinkParamsWithHTTPClient(client *http.Client) *SendDocumentLinkParams

NewSendDocumentLinkParamsWithHTTPClient creates a new SendDocumentLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendDocumentLinkParamsWithTimeout

func NewSendDocumentLinkParamsWithTimeout(timeout time.Duration) *SendDocumentLinkParams

NewSendDocumentLinkParamsWithTimeout creates a new SendDocumentLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendDocumentLinkParams) SetBody

SetBody adds the body to the send document link params

func (*SendDocumentLinkParams) SetContext

func (o *SendDocumentLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the send document link params

func (*SendDocumentLinkParams) SetHTTPClient

func (o *SendDocumentLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send document link params

func (*SendDocumentLinkParams) SetTimeout

func (o *SendDocumentLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send document link params

func (*SendDocumentLinkParams) SetToken

func (o *SendDocumentLinkParams) SetToken(token *string)

SetToken adds the token to the send document link params

func (*SendDocumentLinkParams) WithBody

WithBody adds the body to the send document link params

func (*SendDocumentLinkParams) WithContext

WithContext adds the context to the send document link params

func (*SendDocumentLinkParams) WithHTTPClient

func (o *SendDocumentLinkParams) WithHTTPClient(client *http.Client) *SendDocumentLinkParams

WithHTTPClient adds the HTTPClient to the send document link params

func (*SendDocumentLinkParams) WithTimeout

WithTimeout adds the timeout to the send document link params

func (*SendDocumentLinkParams) WithToken

WithToken adds the token to the send document link params

func (*SendDocumentLinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SendDocumentLinkReader

type SendDocumentLinkReader struct {
	// contains filtered or unexported fields
}

SendDocumentLinkReader is a Reader for the SendDocumentLink structure.

func (*SendDocumentLinkReader) ReadResponse

func (o *SendDocumentLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendDocumentLinkUnauthorized

type SendDocumentLinkUnauthorized struct {
	Payload *models.Error
}

SendDocumentLinkUnauthorized handles this case with default header values.

Unauthorized

func NewSendDocumentLinkUnauthorized

func NewSendDocumentLinkUnauthorized() *SendDocumentLinkUnauthorized

NewSendDocumentLinkUnauthorized creates a SendDocumentLinkUnauthorized with default headers values

func (*SendDocumentLinkUnauthorized) Error

type SendDocumentNotFound

type SendDocumentNotFound struct {
	Payload *models.Error
}

SendDocumentNotFound handles this case with default header values.

Not Found

func NewSendDocumentNotFound

func NewSendDocumentNotFound() *SendDocumentNotFound

NewSendDocumentNotFound creates a SendDocumentNotFound with default headers values

func (*SendDocumentNotFound) Error

func (o *SendDocumentNotFound) Error() string

type SendDocumentOK

type SendDocumentOK struct {
	Payload *models.ResponseMessage
}

SendDocumentOK handles this case with default header values.

SendDocumentOK send document o k

func NewSendDocumentOK

func NewSendDocumentOK() *SendDocumentOK

NewSendDocumentOK creates a SendDocumentOK with default headers values

func (*SendDocumentOK) Error

func (o *SendDocumentOK) Error() string

type SendDocumentParams

type SendDocumentParams struct {

	/*Caption*/
	Caption *string
	/*ChatID*/
	ChatID string
	/*DisableNotification*/
	DisableNotification *bool
	/*Document*/
	Document runtime.NamedReadCloser
	/*ReplyMarkup
	  json string of reply_markup object

	*/
	ReplyMarkup *string
	/*ReplyToMessageID*/
	ReplyToMessageID *int64
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendDocumentParams contains all the parameters to send to the API endpoint for the send document operation typically these are written to a http.Request

func NewSendDocumentParams

func NewSendDocumentParams() *SendDocumentParams

NewSendDocumentParams creates a new SendDocumentParams object with the default values initialized.

func NewSendDocumentParamsWithContext

func NewSendDocumentParamsWithContext(ctx context.Context) *SendDocumentParams

NewSendDocumentParamsWithContext creates a new SendDocumentParams object with the default values initialized, and the ability to set a context for a request

func NewSendDocumentParamsWithHTTPClient

func NewSendDocumentParamsWithHTTPClient(client *http.Client) *SendDocumentParams

NewSendDocumentParamsWithHTTPClient creates a new SendDocumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendDocumentParamsWithTimeout

func NewSendDocumentParamsWithTimeout(timeout time.Duration) *SendDocumentParams

NewSendDocumentParamsWithTimeout creates a new SendDocumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendDocumentParams) SetCaption

func (o *SendDocumentParams) SetCaption(caption *string)

SetCaption adds the caption to the send document params

func (*SendDocumentParams) SetChatID

func (o *SendDocumentParams) SetChatID(chatID string)

SetChatID adds the chatId to the send document params

func (*SendDocumentParams) SetContext

func (o *SendDocumentParams) SetContext(ctx context.Context)

SetContext adds the context to the send document params

func (*SendDocumentParams) SetDisableNotification

func (o *SendDocumentParams) SetDisableNotification(disableNotification *bool)

SetDisableNotification adds the disableNotification to the send document params

func (*SendDocumentParams) SetDocument

func (o *SendDocumentParams) SetDocument(document runtime.NamedReadCloser)

SetDocument adds the document to the send document params

func (*SendDocumentParams) SetHTTPClient

func (o *SendDocumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send document params

func (*SendDocumentParams) SetReplyMarkup

func (o *SendDocumentParams) SetReplyMarkup(replyMarkup *string)

SetReplyMarkup adds the replyMarkup to the send document params

func (*SendDocumentParams) SetReplyToMessageID

func (o *SendDocumentParams) SetReplyToMessageID(replyToMessageID *int64)

SetReplyToMessageID adds the replyToMessageId to the send document params

func (*SendDocumentParams) SetTimeout

func (o *SendDocumentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send document params

func (*SendDocumentParams) SetToken

func (o *SendDocumentParams) SetToken(token *string)

SetToken adds the token to the send document params

func (*SendDocumentParams) WithCaption

func (o *SendDocumentParams) WithCaption(caption *string) *SendDocumentParams

WithCaption adds the caption to the send document params

func (*SendDocumentParams) WithChatID

func (o *SendDocumentParams) WithChatID(chatID string) *SendDocumentParams

WithChatID adds the chatID to the send document params

func (*SendDocumentParams) WithContext

WithContext adds the context to the send document params

func (*SendDocumentParams) WithDisableNotification

func (o *SendDocumentParams) WithDisableNotification(disableNotification *bool) *SendDocumentParams

WithDisableNotification adds the disableNotification to the send document params

func (*SendDocumentParams) WithDocument

func (o *SendDocumentParams) WithDocument(document runtime.NamedReadCloser) *SendDocumentParams

WithDocument adds the document to the send document params

func (*SendDocumentParams) WithHTTPClient

func (o *SendDocumentParams) WithHTTPClient(client *http.Client) *SendDocumentParams

WithHTTPClient adds the HTTPClient to the send document params

func (*SendDocumentParams) WithReplyMarkup

func (o *SendDocumentParams) WithReplyMarkup(replyMarkup *string) *SendDocumentParams

WithReplyMarkup adds the replyMarkup to the send document params

func (*SendDocumentParams) WithReplyToMessageID

func (o *SendDocumentParams) WithReplyToMessageID(replyToMessageID *int64) *SendDocumentParams

WithReplyToMessageID adds the replyToMessageID to the send document params

func (*SendDocumentParams) WithTimeout

func (o *SendDocumentParams) WithTimeout(timeout time.Duration) *SendDocumentParams

WithTimeout adds the timeout to the send document params

func (*SendDocumentParams) WithToken

func (o *SendDocumentParams) WithToken(token *string) *SendDocumentParams

WithToken adds the token to the send document params

func (*SendDocumentParams) WriteToRequest

func (o *SendDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendDocumentReader

type SendDocumentReader struct {
	// contains filtered or unexported fields
}

SendDocumentReader is a Reader for the SendDocument structure.

func (*SendDocumentReader) ReadResponse

func (o *SendDocumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendDocumentUnauthorized

type SendDocumentUnauthorized struct {
	Payload *models.Error
}

SendDocumentUnauthorized handles this case with default header values.

Unauthorized

func NewSendDocumentUnauthorized

func NewSendDocumentUnauthorized() *SendDocumentUnauthorized

NewSendDocumentUnauthorized creates a SendDocumentUnauthorized with default headers values

func (*SendDocumentUnauthorized) Error

func (o *SendDocumentUnauthorized) Error() string

type SendLocationBadRequest

type SendLocationBadRequest struct {
	Payload *models.Error
}

SendLocationBadRequest handles this case with default header values.

Bad Request

func NewSendLocationBadRequest

func NewSendLocationBadRequest() *SendLocationBadRequest

NewSendLocationBadRequest creates a SendLocationBadRequest with default headers values

func (*SendLocationBadRequest) Error

func (o *SendLocationBadRequest) Error() string

type SendLocationEnhanceYourCalm

type SendLocationEnhanceYourCalm struct {
	Payload *models.Error
}

SendLocationEnhanceYourCalm handles this case with default header values.

Flood

func NewSendLocationEnhanceYourCalm

func NewSendLocationEnhanceYourCalm() *SendLocationEnhanceYourCalm

NewSendLocationEnhanceYourCalm creates a SendLocationEnhanceYourCalm with default headers values

func (*SendLocationEnhanceYourCalm) Error

type SendLocationForbidden

type SendLocationForbidden struct {
	Payload *models.Error
}

SendLocationForbidden handles this case with default header values.

Forbidden

func NewSendLocationForbidden

func NewSendLocationForbidden() *SendLocationForbidden

NewSendLocationForbidden creates a SendLocationForbidden with default headers values

func (*SendLocationForbidden) Error

func (o *SendLocationForbidden) Error() string

type SendLocationInternalServerError

type SendLocationInternalServerError struct {
	Payload *models.Error
}

SendLocationInternalServerError handles this case with default header values.

Internal

func NewSendLocationInternalServerError

func NewSendLocationInternalServerError() *SendLocationInternalServerError

NewSendLocationInternalServerError creates a SendLocationInternalServerError with default headers values

func (*SendLocationInternalServerError) Error

type SendLocationNotFound

type SendLocationNotFound struct {
	Payload *models.Error
}

SendLocationNotFound handles this case with default header values.

Not Found

func NewSendLocationNotFound

func NewSendLocationNotFound() *SendLocationNotFound

NewSendLocationNotFound creates a SendLocationNotFound with default headers values

func (*SendLocationNotFound) Error

func (o *SendLocationNotFound) Error() string

type SendLocationOK

type SendLocationOK struct {
	Payload *models.ResponseMessage
}

SendLocationOK handles this case with default header values.

SendLocationOK send location o k

func NewSendLocationOK

func NewSendLocationOK() *SendLocationOK

NewSendLocationOK creates a SendLocationOK with default headers values

func (*SendLocationOK) Error

func (o *SendLocationOK) Error() string

type SendLocationParams

type SendLocationParams struct {

	/*Body*/
	Body *models.SendLocationBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendLocationParams contains all the parameters to send to the API endpoint for the send location operation typically these are written to a http.Request

func NewSendLocationParams

func NewSendLocationParams() *SendLocationParams

NewSendLocationParams creates a new SendLocationParams object with the default values initialized.

func NewSendLocationParamsWithContext

func NewSendLocationParamsWithContext(ctx context.Context) *SendLocationParams

NewSendLocationParamsWithContext creates a new SendLocationParams object with the default values initialized, and the ability to set a context for a request

func NewSendLocationParamsWithHTTPClient

func NewSendLocationParamsWithHTTPClient(client *http.Client) *SendLocationParams

NewSendLocationParamsWithHTTPClient creates a new SendLocationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendLocationParamsWithTimeout

func NewSendLocationParamsWithTimeout(timeout time.Duration) *SendLocationParams

NewSendLocationParamsWithTimeout creates a new SendLocationParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendLocationParams) SetBody

func (o *SendLocationParams) SetBody(body *models.SendLocationBody)

SetBody adds the body to the send location params

func (*SendLocationParams) SetContext

func (o *SendLocationParams) SetContext(ctx context.Context)

SetContext adds the context to the send location params

func (*SendLocationParams) SetHTTPClient

func (o *SendLocationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send location params

func (*SendLocationParams) SetTimeout

func (o *SendLocationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send location params

func (*SendLocationParams) SetToken

func (o *SendLocationParams) SetToken(token *string)

SetToken adds the token to the send location params

func (*SendLocationParams) WithBody

WithBody adds the body to the send location params

func (*SendLocationParams) WithContext

WithContext adds the context to the send location params

func (*SendLocationParams) WithHTTPClient

func (o *SendLocationParams) WithHTTPClient(client *http.Client) *SendLocationParams

WithHTTPClient adds the HTTPClient to the send location params

func (*SendLocationParams) WithTimeout

func (o *SendLocationParams) WithTimeout(timeout time.Duration) *SendLocationParams

WithTimeout adds the timeout to the send location params

func (*SendLocationParams) WithToken

func (o *SendLocationParams) WithToken(token *string) *SendLocationParams

WithToken adds the token to the send location params

func (*SendLocationParams) WriteToRequest

func (o *SendLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendLocationReader

type SendLocationReader struct {
	// contains filtered or unexported fields
}

SendLocationReader is a Reader for the SendLocation structure.

func (*SendLocationReader) ReadResponse

func (o *SendLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendLocationUnauthorized

type SendLocationUnauthorized struct {
	Payload *models.Error
}

SendLocationUnauthorized handles this case with default header values.

Unauthorized

func NewSendLocationUnauthorized

func NewSendLocationUnauthorized() *SendLocationUnauthorized

NewSendLocationUnauthorized creates a SendLocationUnauthorized with default headers values

func (*SendLocationUnauthorized) Error

func (o *SendLocationUnauthorized) Error() string

type SendPhotoBadRequest

type SendPhotoBadRequest struct {
	Payload *models.Error
}

SendPhotoBadRequest handles this case with default header values.

Bad Request

func NewSendPhotoBadRequest

func NewSendPhotoBadRequest() *SendPhotoBadRequest

NewSendPhotoBadRequest creates a SendPhotoBadRequest with default headers values

func (*SendPhotoBadRequest) Error

func (o *SendPhotoBadRequest) Error() string

type SendPhotoEnhanceYourCalm

type SendPhotoEnhanceYourCalm struct {
	Payload *models.Error
}

SendPhotoEnhanceYourCalm handles this case with default header values.

Flood

func NewSendPhotoEnhanceYourCalm

func NewSendPhotoEnhanceYourCalm() *SendPhotoEnhanceYourCalm

NewSendPhotoEnhanceYourCalm creates a SendPhotoEnhanceYourCalm with default headers values

func (*SendPhotoEnhanceYourCalm) Error

func (o *SendPhotoEnhanceYourCalm) Error() string

type SendPhotoForbidden

type SendPhotoForbidden struct {
	Payload *models.Error
}

SendPhotoForbidden handles this case with default header values.

Forbidden

func NewSendPhotoForbidden

func NewSendPhotoForbidden() *SendPhotoForbidden

NewSendPhotoForbidden creates a SendPhotoForbidden with default headers values

func (*SendPhotoForbidden) Error

func (o *SendPhotoForbidden) Error() string

type SendPhotoInternalServerError

type SendPhotoInternalServerError struct {
	Payload *models.Error
}

SendPhotoInternalServerError handles this case with default header values.

Internal

func NewSendPhotoInternalServerError

func NewSendPhotoInternalServerError() *SendPhotoInternalServerError

NewSendPhotoInternalServerError creates a SendPhotoInternalServerError with default headers values

func (*SendPhotoInternalServerError) Error

type SendPhotoLinkBadRequest

type SendPhotoLinkBadRequest struct {
	Payload *models.Error
}

SendPhotoLinkBadRequest handles this case with default header values.

Bad Request

func NewSendPhotoLinkBadRequest

func NewSendPhotoLinkBadRequest() *SendPhotoLinkBadRequest

NewSendPhotoLinkBadRequest creates a SendPhotoLinkBadRequest with default headers values

func (*SendPhotoLinkBadRequest) Error

func (o *SendPhotoLinkBadRequest) Error() string

type SendPhotoLinkEnhanceYourCalm

type SendPhotoLinkEnhanceYourCalm struct {
	Payload *models.Error
}

SendPhotoLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewSendPhotoLinkEnhanceYourCalm

func NewSendPhotoLinkEnhanceYourCalm() *SendPhotoLinkEnhanceYourCalm

NewSendPhotoLinkEnhanceYourCalm creates a SendPhotoLinkEnhanceYourCalm with default headers values

func (*SendPhotoLinkEnhanceYourCalm) Error

type SendPhotoLinkForbidden

type SendPhotoLinkForbidden struct {
	Payload *models.Error
}

SendPhotoLinkForbidden handles this case with default header values.

Forbidden

func NewSendPhotoLinkForbidden

func NewSendPhotoLinkForbidden() *SendPhotoLinkForbidden

NewSendPhotoLinkForbidden creates a SendPhotoLinkForbidden with default headers values

func (*SendPhotoLinkForbidden) Error

func (o *SendPhotoLinkForbidden) Error() string

type SendPhotoLinkInternalServerError

type SendPhotoLinkInternalServerError struct {
	Payload *models.Error
}

SendPhotoLinkInternalServerError handles this case with default header values.

Internal

func NewSendPhotoLinkInternalServerError

func NewSendPhotoLinkInternalServerError() *SendPhotoLinkInternalServerError

NewSendPhotoLinkInternalServerError creates a SendPhotoLinkInternalServerError with default headers values

func (*SendPhotoLinkInternalServerError) Error

type SendPhotoLinkNotFound

type SendPhotoLinkNotFound struct {
	Payload *models.Error
}

SendPhotoLinkNotFound handles this case with default header values.

Not Found

func NewSendPhotoLinkNotFound

func NewSendPhotoLinkNotFound() *SendPhotoLinkNotFound

NewSendPhotoLinkNotFound creates a SendPhotoLinkNotFound with default headers values

func (*SendPhotoLinkNotFound) Error

func (o *SendPhotoLinkNotFound) Error() string

type SendPhotoLinkOK

type SendPhotoLinkOK struct {
	Payload *models.ResponseMessage
}

SendPhotoLinkOK handles this case with default header values.

SendPhotoLinkOK send photo link o k

func NewSendPhotoLinkOK

func NewSendPhotoLinkOK() *SendPhotoLinkOK

NewSendPhotoLinkOK creates a SendPhotoLinkOK with default headers values

func (*SendPhotoLinkOK) Error

func (o *SendPhotoLinkOK) Error() string

type SendPhotoLinkParams

type SendPhotoLinkParams struct {

	/*Body*/
	Body *models.SendPhotoLinkBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendPhotoLinkParams contains all the parameters to send to the API endpoint for the send photo link operation typically these are written to a http.Request

func NewSendPhotoLinkParams

func NewSendPhotoLinkParams() *SendPhotoLinkParams

NewSendPhotoLinkParams creates a new SendPhotoLinkParams object with the default values initialized.

func NewSendPhotoLinkParamsWithContext

func NewSendPhotoLinkParamsWithContext(ctx context.Context) *SendPhotoLinkParams

NewSendPhotoLinkParamsWithContext creates a new SendPhotoLinkParams object with the default values initialized, and the ability to set a context for a request

func NewSendPhotoLinkParamsWithHTTPClient

func NewSendPhotoLinkParamsWithHTTPClient(client *http.Client) *SendPhotoLinkParams

NewSendPhotoLinkParamsWithHTTPClient creates a new SendPhotoLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendPhotoLinkParamsWithTimeout

func NewSendPhotoLinkParamsWithTimeout(timeout time.Duration) *SendPhotoLinkParams

NewSendPhotoLinkParamsWithTimeout creates a new SendPhotoLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendPhotoLinkParams) SetBody

func (o *SendPhotoLinkParams) SetBody(body *models.SendPhotoLinkBody)

SetBody adds the body to the send photo link params

func (*SendPhotoLinkParams) SetContext

func (o *SendPhotoLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the send photo link params

func (*SendPhotoLinkParams) SetHTTPClient

func (o *SendPhotoLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send photo link params

func (*SendPhotoLinkParams) SetTimeout

func (o *SendPhotoLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send photo link params

func (*SendPhotoLinkParams) SetToken

func (o *SendPhotoLinkParams) SetToken(token *string)

SetToken adds the token to the send photo link params

func (*SendPhotoLinkParams) WithBody

WithBody adds the body to the send photo link params

func (*SendPhotoLinkParams) WithContext

WithContext adds the context to the send photo link params

func (*SendPhotoLinkParams) WithHTTPClient

func (o *SendPhotoLinkParams) WithHTTPClient(client *http.Client) *SendPhotoLinkParams

WithHTTPClient adds the HTTPClient to the send photo link params

func (*SendPhotoLinkParams) WithTimeout

func (o *SendPhotoLinkParams) WithTimeout(timeout time.Duration) *SendPhotoLinkParams

WithTimeout adds the timeout to the send photo link params

func (*SendPhotoLinkParams) WithToken

func (o *SendPhotoLinkParams) WithToken(token *string) *SendPhotoLinkParams

WithToken adds the token to the send photo link params

func (*SendPhotoLinkParams) WriteToRequest

func (o *SendPhotoLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendPhotoLinkReader

type SendPhotoLinkReader struct {
	// contains filtered or unexported fields
}

SendPhotoLinkReader is a Reader for the SendPhotoLink structure.

func (*SendPhotoLinkReader) ReadResponse

func (o *SendPhotoLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendPhotoLinkUnauthorized

type SendPhotoLinkUnauthorized struct {
	Payload *models.Error
}

SendPhotoLinkUnauthorized handles this case with default header values.

Unauthorized

func NewSendPhotoLinkUnauthorized

func NewSendPhotoLinkUnauthorized() *SendPhotoLinkUnauthorized

NewSendPhotoLinkUnauthorized creates a SendPhotoLinkUnauthorized with default headers values

func (*SendPhotoLinkUnauthorized) Error

func (o *SendPhotoLinkUnauthorized) Error() string

type SendPhotoNotFound

type SendPhotoNotFound struct {
	Payload *models.Error
}

SendPhotoNotFound handles this case with default header values.

Not Found

func NewSendPhotoNotFound

func NewSendPhotoNotFound() *SendPhotoNotFound

NewSendPhotoNotFound creates a SendPhotoNotFound with default headers values

func (*SendPhotoNotFound) Error

func (o *SendPhotoNotFound) Error() string

type SendPhotoOK

type SendPhotoOK struct {
	Payload *models.ResponseMessage
}

SendPhotoOK handles this case with default header values.

SendPhotoOK send photo o k

func NewSendPhotoOK

func NewSendPhotoOK() *SendPhotoOK

NewSendPhotoOK creates a SendPhotoOK with default headers values

func (*SendPhotoOK) Error

func (o *SendPhotoOK) Error() string

type SendPhotoParams

type SendPhotoParams struct {

	/*Caption*/
	Caption *string
	/*ChatID*/
	ChatID string
	/*DisableNotification*/
	DisableNotification *bool
	/*Photo*/
	Photo runtime.NamedReadCloser
	/*ReplyMarkup
	  json string of reply_markup object

	*/
	ReplyMarkup *string
	/*ReplyToMessageID*/
	ReplyToMessageID *int64
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendPhotoParams contains all the parameters to send to the API endpoint for the send photo operation typically these are written to a http.Request

func NewSendPhotoParams

func NewSendPhotoParams() *SendPhotoParams

NewSendPhotoParams creates a new SendPhotoParams object with the default values initialized.

func NewSendPhotoParamsWithContext

func NewSendPhotoParamsWithContext(ctx context.Context) *SendPhotoParams

NewSendPhotoParamsWithContext creates a new SendPhotoParams object with the default values initialized, and the ability to set a context for a request

func NewSendPhotoParamsWithHTTPClient

func NewSendPhotoParamsWithHTTPClient(client *http.Client) *SendPhotoParams

NewSendPhotoParamsWithHTTPClient creates a new SendPhotoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendPhotoParamsWithTimeout

func NewSendPhotoParamsWithTimeout(timeout time.Duration) *SendPhotoParams

NewSendPhotoParamsWithTimeout creates a new SendPhotoParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendPhotoParams) SetCaption

func (o *SendPhotoParams) SetCaption(caption *string)

SetCaption adds the caption to the send photo params

func (*SendPhotoParams) SetChatID

func (o *SendPhotoParams) SetChatID(chatID string)

SetChatID adds the chatId to the send photo params

func (*SendPhotoParams) SetContext

func (o *SendPhotoParams) SetContext(ctx context.Context)

SetContext adds the context to the send photo params

func (*SendPhotoParams) SetDisableNotification

func (o *SendPhotoParams) SetDisableNotification(disableNotification *bool)

SetDisableNotification adds the disableNotification to the send photo params

func (*SendPhotoParams) SetHTTPClient

func (o *SendPhotoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send photo params

func (*SendPhotoParams) SetPhoto

func (o *SendPhotoParams) SetPhoto(photo runtime.NamedReadCloser)

SetPhoto adds the photo to the send photo params

func (*SendPhotoParams) SetReplyMarkup

func (o *SendPhotoParams) SetReplyMarkup(replyMarkup *string)

SetReplyMarkup adds the replyMarkup to the send photo params

func (*SendPhotoParams) SetReplyToMessageID

func (o *SendPhotoParams) SetReplyToMessageID(replyToMessageID *int64)

SetReplyToMessageID adds the replyToMessageId to the send photo params

func (*SendPhotoParams) SetTimeout

func (o *SendPhotoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send photo params

func (*SendPhotoParams) SetToken

func (o *SendPhotoParams) SetToken(token *string)

SetToken adds the token to the send photo params

func (*SendPhotoParams) WithCaption

func (o *SendPhotoParams) WithCaption(caption *string) *SendPhotoParams

WithCaption adds the caption to the send photo params

func (*SendPhotoParams) WithChatID

func (o *SendPhotoParams) WithChatID(chatID string) *SendPhotoParams

WithChatID adds the chatID to the send photo params

func (*SendPhotoParams) WithContext

func (o *SendPhotoParams) WithContext(ctx context.Context) *SendPhotoParams

WithContext adds the context to the send photo params

func (*SendPhotoParams) WithDisableNotification

func (o *SendPhotoParams) WithDisableNotification(disableNotification *bool) *SendPhotoParams

WithDisableNotification adds the disableNotification to the send photo params

func (*SendPhotoParams) WithHTTPClient

func (o *SendPhotoParams) WithHTTPClient(client *http.Client) *SendPhotoParams

WithHTTPClient adds the HTTPClient to the send photo params

func (*SendPhotoParams) WithPhoto

WithPhoto adds the photo to the send photo params

func (*SendPhotoParams) WithReplyMarkup

func (o *SendPhotoParams) WithReplyMarkup(replyMarkup *string) *SendPhotoParams

WithReplyMarkup adds the replyMarkup to the send photo params

func (*SendPhotoParams) WithReplyToMessageID

func (o *SendPhotoParams) WithReplyToMessageID(replyToMessageID *int64) *SendPhotoParams

WithReplyToMessageID adds the replyToMessageID to the send photo params

func (*SendPhotoParams) WithTimeout

func (o *SendPhotoParams) WithTimeout(timeout time.Duration) *SendPhotoParams

WithTimeout adds the timeout to the send photo params

func (*SendPhotoParams) WithToken

func (o *SendPhotoParams) WithToken(token *string) *SendPhotoParams

WithToken adds the token to the send photo params

func (*SendPhotoParams) WriteToRequest

func (o *SendPhotoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendPhotoReader

type SendPhotoReader struct {
	// contains filtered or unexported fields
}

SendPhotoReader is a Reader for the SendPhoto structure.

func (*SendPhotoReader) ReadResponse

func (o *SendPhotoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendPhotoUnauthorized

type SendPhotoUnauthorized struct {
	Payload *models.Error
}

SendPhotoUnauthorized handles this case with default header values.

Unauthorized

func NewSendPhotoUnauthorized

func NewSendPhotoUnauthorized() *SendPhotoUnauthorized

NewSendPhotoUnauthorized creates a SendPhotoUnauthorized with default headers values

func (*SendPhotoUnauthorized) Error

func (o *SendPhotoUnauthorized) Error() string

type SendStickerBadRequest

type SendStickerBadRequest struct {
	Payload *models.Error
}

SendStickerBadRequest handles this case with default header values.

Bad Request

func NewSendStickerBadRequest

func NewSendStickerBadRequest() *SendStickerBadRequest

NewSendStickerBadRequest creates a SendStickerBadRequest with default headers values

func (*SendStickerBadRequest) Error

func (o *SendStickerBadRequest) Error() string

type SendStickerEnhanceYourCalm

type SendStickerEnhanceYourCalm struct {
	Payload *models.Error
}

SendStickerEnhanceYourCalm handles this case with default header values.

Flood

func NewSendStickerEnhanceYourCalm

func NewSendStickerEnhanceYourCalm() *SendStickerEnhanceYourCalm

NewSendStickerEnhanceYourCalm creates a SendStickerEnhanceYourCalm with default headers values

func (*SendStickerEnhanceYourCalm) Error

type SendStickerForbidden

type SendStickerForbidden struct {
	Payload *models.Error
}

SendStickerForbidden handles this case with default header values.

Forbidden

func NewSendStickerForbidden

func NewSendStickerForbidden() *SendStickerForbidden

NewSendStickerForbidden creates a SendStickerForbidden with default headers values

func (*SendStickerForbidden) Error

func (o *SendStickerForbidden) Error() string

type SendStickerInternalServerError

type SendStickerInternalServerError struct {
	Payload *models.Error
}

SendStickerInternalServerError handles this case with default header values.

Internal

func NewSendStickerInternalServerError

func NewSendStickerInternalServerError() *SendStickerInternalServerError

NewSendStickerInternalServerError creates a SendStickerInternalServerError with default headers values

func (*SendStickerInternalServerError) Error

type SendStickerLinkBadRequest

type SendStickerLinkBadRequest struct {
	Payload *models.Error
}

SendStickerLinkBadRequest handles this case with default header values.

Bad Request

func NewSendStickerLinkBadRequest

func NewSendStickerLinkBadRequest() *SendStickerLinkBadRequest

NewSendStickerLinkBadRequest creates a SendStickerLinkBadRequest with default headers values

func (*SendStickerLinkBadRequest) Error

func (o *SendStickerLinkBadRequest) Error() string

type SendStickerLinkEnhanceYourCalm

type SendStickerLinkEnhanceYourCalm struct {
	Payload *models.Error
}

SendStickerLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewSendStickerLinkEnhanceYourCalm

func NewSendStickerLinkEnhanceYourCalm() *SendStickerLinkEnhanceYourCalm

NewSendStickerLinkEnhanceYourCalm creates a SendStickerLinkEnhanceYourCalm with default headers values

func (*SendStickerLinkEnhanceYourCalm) Error

type SendStickerLinkForbidden

type SendStickerLinkForbidden struct {
	Payload *models.Error
}

SendStickerLinkForbidden handles this case with default header values.

Forbidden

func NewSendStickerLinkForbidden

func NewSendStickerLinkForbidden() *SendStickerLinkForbidden

NewSendStickerLinkForbidden creates a SendStickerLinkForbidden with default headers values

func (*SendStickerLinkForbidden) Error

func (o *SendStickerLinkForbidden) Error() string

type SendStickerLinkInternalServerError

type SendStickerLinkInternalServerError struct {
	Payload *models.Error
}

SendStickerLinkInternalServerError handles this case with default header values.

Internal

func NewSendStickerLinkInternalServerError

func NewSendStickerLinkInternalServerError() *SendStickerLinkInternalServerError

NewSendStickerLinkInternalServerError creates a SendStickerLinkInternalServerError with default headers values

func (*SendStickerLinkInternalServerError) Error

type SendStickerLinkNotFound

type SendStickerLinkNotFound struct {
	Payload *models.Error
}

SendStickerLinkNotFound handles this case with default header values.

Not Found

func NewSendStickerLinkNotFound

func NewSendStickerLinkNotFound() *SendStickerLinkNotFound

NewSendStickerLinkNotFound creates a SendStickerLinkNotFound with default headers values

func (*SendStickerLinkNotFound) Error

func (o *SendStickerLinkNotFound) Error() string

type SendStickerLinkOK

type SendStickerLinkOK struct {
	Payload *models.ResponseMessage
}

SendStickerLinkOK handles this case with default header values.

SendStickerLinkOK send sticker link o k

func NewSendStickerLinkOK

func NewSendStickerLinkOK() *SendStickerLinkOK

NewSendStickerLinkOK creates a SendStickerLinkOK with default headers values

func (*SendStickerLinkOK) Error

func (o *SendStickerLinkOK) Error() string

type SendStickerLinkParams

type SendStickerLinkParams struct {

	/*Body*/
	Body *models.SendStickerLinkBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendStickerLinkParams contains all the parameters to send to the API endpoint for the send sticker link operation typically these are written to a http.Request

func NewSendStickerLinkParams

func NewSendStickerLinkParams() *SendStickerLinkParams

NewSendStickerLinkParams creates a new SendStickerLinkParams object with the default values initialized.

func NewSendStickerLinkParamsWithContext

func NewSendStickerLinkParamsWithContext(ctx context.Context) *SendStickerLinkParams

NewSendStickerLinkParamsWithContext creates a new SendStickerLinkParams object with the default values initialized, and the ability to set a context for a request

func NewSendStickerLinkParamsWithHTTPClient

func NewSendStickerLinkParamsWithHTTPClient(client *http.Client) *SendStickerLinkParams

NewSendStickerLinkParamsWithHTTPClient creates a new SendStickerLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendStickerLinkParamsWithTimeout

func NewSendStickerLinkParamsWithTimeout(timeout time.Duration) *SendStickerLinkParams

NewSendStickerLinkParamsWithTimeout creates a new SendStickerLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendStickerLinkParams) SetBody

SetBody adds the body to the send sticker link params

func (*SendStickerLinkParams) SetContext

func (o *SendStickerLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the send sticker link params

func (*SendStickerLinkParams) SetHTTPClient

func (o *SendStickerLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send sticker link params

func (*SendStickerLinkParams) SetTimeout

func (o *SendStickerLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send sticker link params

func (*SendStickerLinkParams) SetToken

func (o *SendStickerLinkParams) SetToken(token *string)

SetToken adds the token to the send sticker link params

func (*SendStickerLinkParams) WithBody

WithBody adds the body to the send sticker link params

func (*SendStickerLinkParams) WithContext

WithContext adds the context to the send sticker link params

func (*SendStickerLinkParams) WithHTTPClient

func (o *SendStickerLinkParams) WithHTTPClient(client *http.Client) *SendStickerLinkParams

WithHTTPClient adds the HTTPClient to the send sticker link params

func (*SendStickerLinkParams) WithTimeout

func (o *SendStickerLinkParams) WithTimeout(timeout time.Duration) *SendStickerLinkParams

WithTimeout adds the timeout to the send sticker link params

func (*SendStickerLinkParams) WithToken

func (o *SendStickerLinkParams) WithToken(token *string) *SendStickerLinkParams

WithToken adds the token to the send sticker link params

func (*SendStickerLinkParams) WriteToRequest

func (o *SendStickerLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendStickerLinkReader

type SendStickerLinkReader struct {
	// contains filtered or unexported fields
}

SendStickerLinkReader is a Reader for the SendStickerLink structure.

func (*SendStickerLinkReader) ReadResponse

func (o *SendStickerLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendStickerLinkUnauthorized

type SendStickerLinkUnauthorized struct {
	Payload *models.Error
}

SendStickerLinkUnauthorized handles this case with default header values.

Unauthorized

func NewSendStickerLinkUnauthorized

func NewSendStickerLinkUnauthorized() *SendStickerLinkUnauthorized

NewSendStickerLinkUnauthorized creates a SendStickerLinkUnauthorized with default headers values

func (*SendStickerLinkUnauthorized) Error

type SendStickerNotFound

type SendStickerNotFound struct {
	Payload *models.Error
}

SendStickerNotFound handles this case with default header values.

Not Found

func NewSendStickerNotFound

func NewSendStickerNotFound() *SendStickerNotFound

NewSendStickerNotFound creates a SendStickerNotFound with default headers values

func (*SendStickerNotFound) Error

func (o *SendStickerNotFound) Error() string

type SendStickerOK

type SendStickerOK struct {
	Payload *models.ResponseMessage
}

SendStickerOK handles this case with default header values.

SendStickerOK send sticker o k

func NewSendStickerOK

func NewSendStickerOK() *SendStickerOK

NewSendStickerOK creates a SendStickerOK with default headers values

func (*SendStickerOK) Error

func (o *SendStickerOK) Error() string

type SendStickerParams

type SendStickerParams struct {

	/*ChatID*/
	ChatID string
	/*DisableNotification*/
	DisableNotification *bool
	/*ReplyMarkup
	  json string of reply_markup object

	*/
	ReplyMarkup *string
	/*ReplyToMessageID*/
	ReplyToMessageID *int64
	/*Sticker*/
	Sticker runtime.NamedReadCloser
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendStickerParams contains all the parameters to send to the API endpoint for the send sticker operation typically these are written to a http.Request

func NewSendStickerParams

func NewSendStickerParams() *SendStickerParams

NewSendStickerParams creates a new SendStickerParams object with the default values initialized.

func NewSendStickerParamsWithContext

func NewSendStickerParamsWithContext(ctx context.Context) *SendStickerParams

NewSendStickerParamsWithContext creates a new SendStickerParams object with the default values initialized, and the ability to set a context for a request

func NewSendStickerParamsWithHTTPClient

func NewSendStickerParamsWithHTTPClient(client *http.Client) *SendStickerParams

NewSendStickerParamsWithHTTPClient creates a new SendStickerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendStickerParamsWithTimeout

func NewSendStickerParamsWithTimeout(timeout time.Duration) *SendStickerParams

NewSendStickerParamsWithTimeout creates a new SendStickerParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendStickerParams) SetChatID

func (o *SendStickerParams) SetChatID(chatID string)

SetChatID adds the chatId to the send sticker params

func (*SendStickerParams) SetContext

func (o *SendStickerParams) SetContext(ctx context.Context)

SetContext adds the context to the send sticker params

func (*SendStickerParams) SetDisableNotification

func (o *SendStickerParams) SetDisableNotification(disableNotification *bool)

SetDisableNotification adds the disableNotification to the send sticker params

func (*SendStickerParams) SetHTTPClient

func (o *SendStickerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send sticker params

func (*SendStickerParams) SetReplyMarkup

func (o *SendStickerParams) SetReplyMarkup(replyMarkup *string)

SetReplyMarkup adds the replyMarkup to the send sticker params

func (*SendStickerParams) SetReplyToMessageID

func (o *SendStickerParams) SetReplyToMessageID(replyToMessageID *int64)

SetReplyToMessageID adds the replyToMessageId to the send sticker params

func (*SendStickerParams) SetSticker

func (o *SendStickerParams) SetSticker(sticker runtime.NamedReadCloser)

SetSticker adds the sticker to the send sticker params

func (*SendStickerParams) SetTimeout

func (o *SendStickerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send sticker params

func (*SendStickerParams) SetToken

func (o *SendStickerParams) SetToken(token *string)

SetToken adds the token to the send sticker params

func (*SendStickerParams) WithChatID

func (o *SendStickerParams) WithChatID(chatID string) *SendStickerParams

WithChatID adds the chatID to the send sticker params

func (*SendStickerParams) WithContext

func (o *SendStickerParams) WithContext(ctx context.Context) *SendStickerParams

WithContext adds the context to the send sticker params

func (*SendStickerParams) WithDisableNotification

func (o *SendStickerParams) WithDisableNotification(disableNotification *bool) *SendStickerParams

WithDisableNotification adds the disableNotification to the send sticker params

func (*SendStickerParams) WithHTTPClient

func (o *SendStickerParams) WithHTTPClient(client *http.Client) *SendStickerParams

WithHTTPClient adds the HTTPClient to the send sticker params

func (*SendStickerParams) WithReplyMarkup

func (o *SendStickerParams) WithReplyMarkup(replyMarkup *string) *SendStickerParams

WithReplyMarkup adds the replyMarkup to the send sticker params

func (*SendStickerParams) WithReplyToMessageID

func (o *SendStickerParams) WithReplyToMessageID(replyToMessageID *int64) *SendStickerParams

WithReplyToMessageID adds the replyToMessageID to the send sticker params

func (*SendStickerParams) WithSticker

WithSticker adds the sticker to the send sticker params

func (*SendStickerParams) WithTimeout

func (o *SendStickerParams) WithTimeout(timeout time.Duration) *SendStickerParams

WithTimeout adds the timeout to the send sticker params

func (*SendStickerParams) WithToken

func (o *SendStickerParams) WithToken(token *string) *SendStickerParams

WithToken adds the token to the send sticker params

func (*SendStickerParams) WriteToRequest

func (o *SendStickerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendStickerReader

type SendStickerReader struct {
	// contains filtered or unexported fields
}

SendStickerReader is a Reader for the SendSticker structure.

func (*SendStickerReader) ReadResponse

func (o *SendStickerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendStickerUnauthorized

type SendStickerUnauthorized struct {
	Payload *models.Error
}

SendStickerUnauthorized handles this case with default header values.

Unauthorized

func NewSendStickerUnauthorized

func NewSendStickerUnauthorized() *SendStickerUnauthorized

NewSendStickerUnauthorized creates a SendStickerUnauthorized with default headers values

func (*SendStickerUnauthorized) Error

func (o *SendStickerUnauthorized) Error() string

type SendVenueBadRequest

type SendVenueBadRequest struct {
	Payload *models.Error
}

SendVenueBadRequest handles this case with default header values.

Bad Request

func NewSendVenueBadRequest

func NewSendVenueBadRequest() *SendVenueBadRequest

NewSendVenueBadRequest creates a SendVenueBadRequest with default headers values

func (*SendVenueBadRequest) Error

func (o *SendVenueBadRequest) Error() string

type SendVenueEnhanceYourCalm

type SendVenueEnhanceYourCalm struct {
	Payload *models.Error
}

SendVenueEnhanceYourCalm handles this case with default header values.

Flood

func NewSendVenueEnhanceYourCalm

func NewSendVenueEnhanceYourCalm() *SendVenueEnhanceYourCalm

NewSendVenueEnhanceYourCalm creates a SendVenueEnhanceYourCalm with default headers values

func (*SendVenueEnhanceYourCalm) Error

func (o *SendVenueEnhanceYourCalm) Error() string

type SendVenueForbidden

type SendVenueForbidden struct {
	Payload *models.Error
}

SendVenueForbidden handles this case with default header values.

Forbidden

func NewSendVenueForbidden

func NewSendVenueForbidden() *SendVenueForbidden

NewSendVenueForbidden creates a SendVenueForbidden with default headers values

func (*SendVenueForbidden) Error

func (o *SendVenueForbidden) Error() string

type SendVenueInternalServerError

type SendVenueInternalServerError struct {
	Payload *models.Error
}

SendVenueInternalServerError handles this case with default header values.

Internal

func NewSendVenueInternalServerError

func NewSendVenueInternalServerError() *SendVenueInternalServerError

NewSendVenueInternalServerError creates a SendVenueInternalServerError with default headers values

func (*SendVenueInternalServerError) Error

type SendVenueNotFound

type SendVenueNotFound struct {
	Payload *models.Error
}

SendVenueNotFound handles this case with default header values.

Not Found

func NewSendVenueNotFound

func NewSendVenueNotFound() *SendVenueNotFound

NewSendVenueNotFound creates a SendVenueNotFound with default headers values

func (*SendVenueNotFound) Error

func (o *SendVenueNotFound) Error() string

type SendVenueOK

type SendVenueOK struct {
	Payload *models.ResponseMessage
}

SendVenueOK handles this case with default header values.

SendVenueOK send venue o k

func NewSendVenueOK

func NewSendVenueOK() *SendVenueOK

NewSendVenueOK creates a SendVenueOK with default headers values

func (*SendVenueOK) Error

func (o *SendVenueOK) Error() string

type SendVenueParams

type SendVenueParams struct {

	/*Body*/
	Body *models.SendVenueBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendVenueParams contains all the parameters to send to the API endpoint for the send venue operation typically these are written to a http.Request

func NewSendVenueParams

func NewSendVenueParams() *SendVenueParams

NewSendVenueParams creates a new SendVenueParams object with the default values initialized.

func NewSendVenueParamsWithContext

func NewSendVenueParamsWithContext(ctx context.Context) *SendVenueParams

NewSendVenueParamsWithContext creates a new SendVenueParams object with the default values initialized, and the ability to set a context for a request

func NewSendVenueParamsWithHTTPClient

func NewSendVenueParamsWithHTTPClient(client *http.Client) *SendVenueParams

NewSendVenueParamsWithHTTPClient creates a new SendVenueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendVenueParamsWithTimeout

func NewSendVenueParamsWithTimeout(timeout time.Duration) *SendVenueParams

NewSendVenueParamsWithTimeout creates a new SendVenueParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendVenueParams) SetBody

func (o *SendVenueParams) SetBody(body *models.SendVenueBody)

SetBody adds the body to the send venue params

func (*SendVenueParams) SetContext

func (o *SendVenueParams) SetContext(ctx context.Context)

SetContext adds the context to the send venue params

func (*SendVenueParams) SetHTTPClient

func (o *SendVenueParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send venue params

func (*SendVenueParams) SetTimeout

func (o *SendVenueParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send venue params

func (*SendVenueParams) SetToken

func (o *SendVenueParams) SetToken(token *string)

SetToken adds the token to the send venue params

func (*SendVenueParams) WithBody

WithBody adds the body to the send venue params

func (*SendVenueParams) WithContext

func (o *SendVenueParams) WithContext(ctx context.Context) *SendVenueParams

WithContext adds the context to the send venue params

func (*SendVenueParams) WithHTTPClient

func (o *SendVenueParams) WithHTTPClient(client *http.Client) *SendVenueParams

WithHTTPClient adds the HTTPClient to the send venue params

func (*SendVenueParams) WithTimeout

func (o *SendVenueParams) WithTimeout(timeout time.Duration) *SendVenueParams

WithTimeout adds the timeout to the send venue params

func (*SendVenueParams) WithToken

func (o *SendVenueParams) WithToken(token *string) *SendVenueParams

WithToken adds the token to the send venue params

func (*SendVenueParams) WriteToRequest

func (o *SendVenueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendVenueReader

type SendVenueReader struct {
	// contains filtered or unexported fields
}

SendVenueReader is a Reader for the SendVenue structure.

func (*SendVenueReader) ReadResponse

func (o *SendVenueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendVenueUnauthorized

type SendVenueUnauthorized struct {
	Payload *models.Error
}

SendVenueUnauthorized handles this case with default header values.

Unauthorized

func NewSendVenueUnauthorized

func NewSendVenueUnauthorized() *SendVenueUnauthorized

NewSendVenueUnauthorized creates a SendVenueUnauthorized with default headers values

func (*SendVenueUnauthorized) Error

func (o *SendVenueUnauthorized) Error() string

type SendVideoBadRequest

type SendVideoBadRequest struct {
	Payload *models.Error
}

SendVideoBadRequest handles this case with default header values.

Bad Request

func NewSendVideoBadRequest

func NewSendVideoBadRequest() *SendVideoBadRequest

NewSendVideoBadRequest creates a SendVideoBadRequest with default headers values

func (*SendVideoBadRequest) Error

func (o *SendVideoBadRequest) Error() string

type SendVideoEnhanceYourCalm

type SendVideoEnhanceYourCalm struct {
	Payload *models.Error
}

SendVideoEnhanceYourCalm handles this case with default header values.

Flood

func NewSendVideoEnhanceYourCalm

func NewSendVideoEnhanceYourCalm() *SendVideoEnhanceYourCalm

NewSendVideoEnhanceYourCalm creates a SendVideoEnhanceYourCalm with default headers values

func (*SendVideoEnhanceYourCalm) Error

func (o *SendVideoEnhanceYourCalm) Error() string

type SendVideoForbidden

type SendVideoForbidden struct {
	Payload *models.Error
}

SendVideoForbidden handles this case with default header values.

Forbidden

func NewSendVideoForbidden

func NewSendVideoForbidden() *SendVideoForbidden

NewSendVideoForbidden creates a SendVideoForbidden with default headers values

func (*SendVideoForbidden) Error

func (o *SendVideoForbidden) Error() string

type SendVideoInternalServerError

type SendVideoInternalServerError struct {
	Payload *models.Error
}

SendVideoInternalServerError handles this case with default header values.

Internal

func NewSendVideoInternalServerError

func NewSendVideoInternalServerError() *SendVideoInternalServerError

NewSendVideoInternalServerError creates a SendVideoInternalServerError with default headers values

func (*SendVideoInternalServerError) Error

type SendVideoLinkBadRequest

type SendVideoLinkBadRequest struct {
	Payload *models.Error
}

SendVideoLinkBadRequest handles this case with default header values.

Bad Request

func NewSendVideoLinkBadRequest

func NewSendVideoLinkBadRequest() *SendVideoLinkBadRequest

NewSendVideoLinkBadRequest creates a SendVideoLinkBadRequest with default headers values

func (*SendVideoLinkBadRequest) Error

func (o *SendVideoLinkBadRequest) Error() string

type SendVideoLinkEnhanceYourCalm

type SendVideoLinkEnhanceYourCalm struct {
	Payload *models.Error
}

SendVideoLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewSendVideoLinkEnhanceYourCalm

func NewSendVideoLinkEnhanceYourCalm() *SendVideoLinkEnhanceYourCalm

NewSendVideoLinkEnhanceYourCalm creates a SendVideoLinkEnhanceYourCalm with default headers values

func (*SendVideoLinkEnhanceYourCalm) Error

type SendVideoLinkForbidden

type SendVideoLinkForbidden struct {
	Payload *models.Error
}

SendVideoLinkForbidden handles this case with default header values.

Forbidden

func NewSendVideoLinkForbidden

func NewSendVideoLinkForbidden() *SendVideoLinkForbidden

NewSendVideoLinkForbidden creates a SendVideoLinkForbidden with default headers values

func (*SendVideoLinkForbidden) Error

func (o *SendVideoLinkForbidden) Error() string

type SendVideoLinkInternalServerError

type SendVideoLinkInternalServerError struct {
	Payload *models.Error
}

SendVideoLinkInternalServerError handles this case with default header values.

Internal

func NewSendVideoLinkInternalServerError

func NewSendVideoLinkInternalServerError() *SendVideoLinkInternalServerError

NewSendVideoLinkInternalServerError creates a SendVideoLinkInternalServerError with default headers values

func (*SendVideoLinkInternalServerError) Error

type SendVideoLinkNotFound

type SendVideoLinkNotFound struct {
	Payload *models.Error
}

SendVideoLinkNotFound handles this case with default header values.

Not Found

func NewSendVideoLinkNotFound

func NewSendVideoLinkNotFound() *SendVideoLinkNotFound

NewSendVideoLinkNotFound creates a SendVideoLinkNotFound with default headers values

func (*SendVideoLinkNotFound) Error

func (o *SendVideoLinkNotFound) Error() string

type SendVideoLinkOK

type SendVideoLinkOK struct {
	Payload *models.ResponseMessage
}

SendVideoLinkOK handles this case with default header values.

SendVideoLinkOK send video link o k

func NewSendVideoLinkOK

func NewSendVideoLinkOK() *SendVideoLinkOK

NewSendVideoLinkOK creates a SendVideoLinkOK with default headers values

func (*SendVideoLinkOK) Error

func (o *SendVideoLinkOK) Error() string

type SendVideoLinkParams

type SendVideoLinkParams struct {

	/*Body*/
	Body *models.SendVideoLinkBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendVideoLinkParams contains all the parameters to send to the API endpoint for the send video link operation typically these are written to a http.Request

func NewSendVideoLinkParams

func NewSendVideoLinkParams() *SendVideoLinkParams

NewSendVideoLinkParams creates a new SendVideoLinkParams object with the default values initialized.

func NewSendVideoLinkParamsWithContext

func NewSendVideoLinkParamsWithContext(ctx context.Context) *SendVideoLinkParams

NewSendVideoLinkParamsWithContext creates a new SendVideoLinkParams object with the default values initialized, and the ability to set a context for a request

func NewSendVideoLinkParamsWithHTTPClient

func NewSendVideoLinkParamsWithHTTPClient(client *http.Client) *SendVideoLinkParams

NewSendVideoLinkParamsWithHTTPClient creates a new SendVideoLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendVideoLinkParamsWithTimeout

func NewSendVideoLinkParamsWithTimeout(timeout time.Duration) *SendVideoLinkParams

NewSendVideoLinkParamsWithTimeout creates a new SendVideoLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendVideoLinkParams) SetBody

func (o *SendVideoLinkParams) SetBody(body *models.SendVideoLinkBody)

SetBody adds the body to the send video link params

func (*SendVideoLinkParams) SetContext

func (o *SendVideoLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the send video link params

func (*SendVideoLinkParams) SetHTTPClient

func (o *SendVideoLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send video link params

func (*SendVideoLinkParams) SetTimeout

func (o *SendVideoLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send video link params

func (*SendVideoLinkParams) SetToken

func (o *SendVideoLinkParams) SetToken(token *string)

SetToken adds the token to the send video link params

func (*SendVideoLinkParams) WithBody

WithBody adds the body to the send video link params

func (*SendVideoLinkParams) WithContext

WithContext adds the context to the send video link params

func (*SendVideoLinkParams) WithHTTPClient

func (o *SendVideoLinkParams) WithHTTPClient(client *http.Client) *SendVideoLinkParams

WithHTTPClient adds the HTTPClient to the send video link params

func (*SendVideoLinkParams) WithTimeout

func (o *SendVideoLinkParams) WithTimeout(timeout time.Duration) *SendVideoLinkParams

WithTimeout adds the timeout to the send video link params

func (*SendVideoLinkParams) WithToken

func (o *SendVideoLinkParams) WithToken(token *string) *SendVideoLinkParams

WithToken adds the token to the send video link params

func (*SendVideoLinkParams) WriteToRequest

func (o *SendVideoLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendVideoLinkReader

type SendVideoLinkReader struct {
	// contains filtered or unexported fields
}

SendVideoLinkReader is a Reader for the SendVideoLink structure.

func (*SendVideoLinkReader) ReadResponse

func (o *SendVideoLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendVideoLinkUnauthorized

type SendVideoLinkUnauthorized struct {
	Payload *models.Error
}

SendVideoLinkUnauthorized handles this case with default header values.

Unauthorized

func NewSendVideoLinkUnauthorized

func NewSendVideoLinkUnauthorized() *SendVideoLinkUnauthorized

NewSendVideoLinkUnauthorized creates a SendVideoLinkUnauthorized with default headers values

func (*SendVideoLinkUnauthorized) Error

func (o *SendVideoLinkUnauthorized) Error() string

type SendVideoNotFound

type SendVideoNotFound struct {
	Payload *models.Error
}

SendVideoNotFound handles this case with default header values.

Not Found

func NewSendVideoNotFound

func NewSendVideoNotFound() *SendVideoNotFound

NewSendVideoNotFound creates a SendVideoNotFound with default headers values

func (*SendVideoNotFound) Error

func (o *SendVideoNotFound) Error() string

type SendVideoNoteBadRequest

type SendVideoNoteBadRequest struct {
	Payload *models.Error
}

SendVideoNoteBadRequest handles this case with default header values.

Bad Request

func NewSendVideoNoteBadRequest

func NewSendVideoNoteBadRequest() *SendVideoNoteBadRequest

NewSendVideoNoteBadRequest creates a SendVideoNoteBadRequest with default headers values

func (*SendVideoNoteBadRequest) Error

func (o *SendVideoNoteBadRequest) Error() string

type SendVideoNoteEnhanceYourCalm

type SendVideoNoteEnhanceYourCalm struct {
	Payload *models.Error
}

SendVideoNoteEnhanceYourCalm handles this case with default header values.

Flood

func NewSendVideoNoteEnhanceYourCalm

func NewSendVideoNoteEnhanceYourCalm() *SendVideoNoteEnhanceYourCalm

NewSendVideoNoteEnhanceYourCalm creates a SendVideoNoteEnhanceYourCalm with default headers values

func (*SendVideoNoteEnhanceYourCalm) Error

type SendVideoNoteForbidden

type SendVideoNoteForbidden struct {
	Payload *models.Error
}

SendVideoNoteForbidden handles this case with default header values.

Forbidden

func NewSendVideoNoteForbidden

func NewSendVideoNoteForbidden() *SendVideoNoteForbidden

NewSendVideoNoteForbidden creates a SendVideoNoteForbidden with default headers values

func (*SendVideoNoteForbidden) Error

func (o *SendVideoNoteForbidden) Error() string

type SendVideoNoteInternalServerError

type SendVideoNoteInternalServerError struct {
	Payload *models.Error
}

SendVideoNoteInternalServerError handles this case with default header values.

Internal

func NewSendVideoNoteInternalServerError

func NewSendVideoNoteInternalServerError() *SendVideoNoteInternalServerError

NewSendVideoNoteInternalServerError creates a SendVideoNoteInternalServerError with default headers values

func (*SendVideoNoteInternalServerError) Error

type SendVideoNoteLinkBadRequest

type SendVideoNoteLinkBadRequest struct {
	Payload *models.Error
}

SendVideoNoteLinkBadRequest handles this case with default header values.

Bad Request

func NewSendVideoNoteLinkBadRequest

func NewSendVideoNoteLinkBadRequest() *SendVideoNoteLinkBadRequest

NewSendVideoNoteLinkBadRequest creates a SendVideoNoteLinkBadRequest with default headers values

func (*SendVideoNoteLinkBadRequest) Error

type SendVideoNoteLinkEnhanceYourCalm

type SendVideoNoteLinkEnhanceYourCalm struct {
	Payload *models.Error
}

SendVideoNoteLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewSendVideoNoteLinkEnhanceYourCalm

func NewSendVideoNoteLinkEnhanceYourCalm() *SendVideoNoteLinkEnhanceYourCalm

NewSendVideoNoteLinkEnhanceYourCalm creates a SendVideoNoteLinkEnhanceYourCalm with default headers values

func (*SendVideoNoteLinkEnhanceYourCalm) Error

type SendVideoNoteLinkForbidden

type SendVideoNoteLinkForbidden struct {
	Payload *models.Error
}

SendVideoNoteLinkForbidden handles this case with default header values.

Forbidden

func NewSendVideoNoteLinkForbidden

func NewSendVideoNoteLinkForbidden() *SendVideoNoteLinkForbidden

NewSendVideoNoteLinkForbidden creates a SendVideoNoteLinkForbidden with default headers values

func (*SendVideoNoteLinkForbidden) Error

type SendVideoNoteLinkInternalServerError

type SendVideoNoteLinkInternalServerError struct {
	Payload *models.Error
}

SendVideoNoteLinkInternalServerError handles this case with default header values.

Internal

func NewSendVideoNoteLinkInternalServerError

func NewSendVideoNoteLinkInternalServerError() *SendVideoNoteLinkInternalServerError

NewSendVideoNoteLinkInternalServerError creates a SendVideoNoteLinkInternalServerError with default headers values

func (*SendVideoNoteLinkInternalServerError) Error

type SendVideoNoteLinkNotFound

type SendVideoNoteLinkNotFound struct {
	Payload *models.Error
}

SendVideoNoteLinkNotFound handles this case with default header values.

Not Found

func NewSendVideoNoteLinkNotFound

func NewSendVideoNoteLinkNotFound() *SendVideoNoteLinkNotFound

NewSendVideoNoteLinkNotFound creates a SendVideoNoteLinkNotFound with default headers values

func (*SendVideoNoteLinkNotFound) Error

func (o *SendVideoNoteLinkNotFound) Error() string

type SendVideoNoteLinkOK

type SendVideoNoteLinkOK struct {
	Payload *models.ResponseMessage
}

SendVideoNoteLinkOK handles this case with default header values.

SendVideoNoteLinkOK send video note link o k

func NewSendVideoNoteLinkOK

func NewSendVideoNoteLinkOK() *SendVideoNoteLinkOK

NewSendVideoNoteLinkOK creates a SendVideoNoteLinkOK with default headers values

func (*SendVideoNoteLinkOK) Error

func (o *SendVideoNoteLinkOK) Error() string

type SendVideoNoteLinkParams

type SendVideoNoteLinkParams struct {

	/*Body*/
	Body *models.SendVideoNoteLinkBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendVideoNoteLinkParams contains all the parameters to send to the API endpoint for the send video note link operation typically these are written to a http.Request

func NewSendVideoNoteLinkParams

func NewSendVideoNoteLinkParams() *SendVideoNoteLinkParams

NewSendVideoNoteLinkParams creates a new SendVideoNoteLinkParams object with the default values initialized.

func NewSendVideoNoteLinkParamsWithContext

func NewSendVideoNoteLinkParamsWithContext(ctx context.Context) *SendVideoNoteLinkParams

NewSendVideoNoteLinkParamsWithContext creates a new SendVideoNoteLinkParams object with the default values initialized, and the ability to set a context for a request

func NewSendVideoNoteLinkParamsWithHTTPClient

func NewSendVideoNoteLinkParamsWithHTTPClient(client *http.Client) *SendVideoNoteLinkParams

NewSendVideoNoteLinkParamsWithHTTPClient creates a new SendVideoNoteLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendVideoNoteLinkParamsWithTimeout

func NewSendVideoNoteLinkParamsWithTimeout(timeout time.Duration) *SendVideoNoteLinkParams

NewSendVideoNoteLinkParamsWithTimeout creates a new SendVideoNoteLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendVideoNoteLinkParams) SetBody

SetBody adds the body to the send video note link params

func (*SendVideoNoteLinkParams) SetContext

func (o *SendVideoNoteLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the send video note link params

func (*SendVideoNoteLinkParams) SetHTTPClient

func (o *SendVideoNoteLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send video note link params

func (*SendVideoNoteLinkParams) SetTimeout

func (o *SendVideoNoteLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send video note link params

func (*SendVideoNoteLinkParams) SetToken

func (o *SendVideoNoteLinkParams) SetToken(token *string)

SetToken adds the token to the send video note link params

func (*SendVideoNoteLinkParams) WithBody

WithBody adds the body to the send video note link params

func (*SendVideoNoteLinkParams) WithContext

WithContext adds the context to the send video note link params

func (*SendVideoNoteLinkParams) WithHTTPClient

func (o *SendVideoNoteLinkParams) WithHTTPClient(client *http.Client) *SendVideoNoteLinkParams

WithHTTPClient adds the HTTPClient to the send video note link params

func (*SendVideoNoteLinkParams) WithTimeout

WithTimeout adds the timeout to the send video note link params

func (*SendVideoNoteLinkParams) WithToken

WithToken adds the token to the send video note link params

func (*SendVideoNoteLinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SendVideoNoteLinkReader

type SendVideoNoteLinkReader struct {
	// contains filtered or unexported fields
}

SendVideoNoteLinkReader is a Reader for the SendVideoNoteLink structure.

func (*SendVideoNoteLinkReader) ReadResponse

func (o *SendVideoNoteLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendVideoNoteLinkUnauthorized

type SendVideoNoteLinkUnauthorized struct {
	Payload *models.Error
}

SendVideoNoteLinkUnauthorized handles this case with default header values.

Unauthorized

func NewSendVideoNoteLinkUnauthorized

func NewSendVideoNoteLinkUnauthorized() *SendVideoNoteLinkUnauthorized

NewSendVideoNoteLinkUnauthorized creates a SendVideoNoteLinkUnauthorized with default headers values

func (*SendVideoNoteLinkUnauthorized) Error

type SendVideoNoteNotFound

type SendVideoNoteNotFound struct {
	Payload *models.Error
}

SendVideoNoteNotFound handles this case with default header values.

Not Found

func NewSendVideoNoteNotFound

func NewSendVideoNoteNotFound() *SendVideoNoteNotFound

NewSendVideoNoteNotFound creates a SendVideoNoteNotFound with default headers values

func (*SendVideoNoteNotFound) Error

func (o *SendVideoNoteNotFound) Error() string

type SendVideoNoteOK

type SendVideoNoteOK struct {
	Payload *models.ResponseMessage
}

SendVideoNoteOK handles this case with default header values.

SendVideoNoteOK send video note o k

func NewSendVideoNoteOK

func NewSendVideoNoteOK() *SendVideoNoteOK

NewSendVideoNoteOK creates a SendVideoNoteOK with default headers values

func (*SendVideoNoteOK) Error

func (o *SendVideoNoteOK) Error() string

type SendVideoNoteParams

type SendVideoNoteParams struct {

	/*ChatID*/
	ChatID string
	/*DisableNotification*/
	DisableNotification *bool
	/*Duration*/
	Duration *int64
	/*Length*/
	Length *int64
	/*ReplyMarkup
	  json string of reply_markup object

	*/
	ReplyMarkup *string
	/*ReplyToMessageID*/
	ReplyToMessageID *int64
	/*Token
	  bot's token to authorize the request

	*/
	Token *string
	/*VideoNote*/
	VideoNote runtime.NamedReadCloser

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendVideoNoteParams contains all the parameters to send to the API endpoint for the send video note operation typically these are written to a http.Request

func NewSendVideoNoteParams

func NewSendVideoNoteParams() *SendVideoNoteParams

NewSendVideoNoteParams creates a new SendVideoNoteParams object with the default values initialized.

func NewSendVideoNoteParamsWithContext

func NewSendVideoNoteParamsWithContext(ctx context.Context) *SendVideoNoteParams

NewSendVideoNoteParamsWithContext creates a new SendVideoNoteParams object with the default values initialized, and the ability to set a context for a request

func NewSendVideoNoteParamsWithHTTPClient

func NewSendVideoNoteParamsWithHTTPClient(client *http.Client) *SendVideoNoteParams

NewSendVideoNoteParamsWithHTTPClient creates a new SendVideoNoteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendVideoNoteParamsWithTimeout

func NewSendVideoNoteParamsWithTimeout(timeout time.Duration) *SendVideoNoteParams

NewSendVideoNoteParamsWithTimeout creates a new SendVideoNoteParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendVideoNoteParams) SetChatID

func (o *SendVideoNoteParams) SetChatID(chatID string)

SetChatID adds the chatId to the send video note params

func (*SendVideoNoteParams) SetContext

func (o *SendVideoNoteParams) SetContext(ctx context.Context)

SetContext adds the context to the send video note params

func (*SendVideoNoteParams) SetDisableNotification

func (o *SendVideoNoteParams) SetDisableNotification(disableNotification *bool)

SetDisableNotification adds the disableNotification to the send video note params

func (*SendVideoNoteParams) SetDuration

func (o *SendVideoNoteParams) SetDuration(duration *int64)

SetDuration adds the duration to the send video note params

func (*SendVideoNoteParams) SetHTTPClient

func (o *SendVideoNoteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send video note params

func (*SendVideoNoteParams) SetLength

func (o *SendVideoNoteParams) SetLength(length *int64)

SetLength adds the length to the send video note params

func (*SendVideoNoteParams) SetReplyMarkup

func (o *SendVideoNoteParams) SetReplyMarkup(replyMarkup *string)

SetReplyMarkup adds the replyMarkup to the send video note params

func (*SendVideoNoteParams) SetReplyToMessageID

func (o *SendVideoNoteParams) SetReplyToMessageID(replyToMessageID *int64)

SetReplyToMessageID adds the replyToMessageId to the send video note params

func (*SendVideoNoteParams) SetTimeout

func (o *SendVideoNoteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send video note params

func (*SendVideoNoteParams) SetToken

func (o *SendVideoNoteParams) SetToken(token *string)

SetToken adds the token to the send video note params

func (*SendVideoNoteParams) SetVideoNote

func (o *SendVideoNoteParams) SetVideoNote(videoNote runtime.NamedReadCloser)

SetVideoNote adds the videoNote to the send video note params

func (*SendVideoNoteParams) WithChatID

func (o *SendVideoNoteParams) WithChatID(chatID string) *SendVideoNoteParams

WithChatID adds the chatID to the send video note params

func (*SendVideoNoteParams) WithContext

WithContext adds the context to the send video note params

func (*SendVideoNoteParams) WithDisableNotification

func (o *SendVideoNoteParams) WithDisableNotification(disableNotification *bool) *SendVideoNoteParams

WithDisableNotification adds the disableNotification to the send video note params

func (*SendVideoNoteParams) WithDuration

func (o *SendVideoNoteParams) WithDuration(duration *int64) *SendVideoNoteParams

WithDuration adds the duration to the send video note params

func (*SendVideoNoteParams) WithHTTPClient

func (o *SendVideoNoteParams) WithHTTPClient(client *http.Client) *SendVideoNoteParams

WithHTTPClient adds the HTTPClient to the send video note params

func (*SendVideoNoteParams) WithLength

func (o *SendVideoNoteParams) WithLength(length *int64) *SendVideoNoteParams

WithLength adds the length to the send video note params

func (*SendVideoNoteParams) WithReplyMarkup

func (o *SendVideoNoteParams) WithReplyMarkup(replyMarkup *string) *SendVideoNoteParams

WithReplyMarkup adds the replyMarkup to the send video note params

func (*SendVideoNoteParams) WithReplyToMessageID

func (o *SendVideoNoteParams) WithReplyToMessageID(replyToMessageID *int64) *SendVideoNoteParams

WithReplyToMessageID adds the replyToMessageID to the send video note params

func (*SendVideoNoteParams) WithTimeout

func (o *SendVideoNoteParams) WithTimeout(timeout time.Duration) *SendVideoNoteParams

WithTimeout adds the timeout to the send video note params

func (*SendVideoNoteParams) WithToken

func (o *SendVideoNoteParams) WithToken(token *string) *SendVideoNoteParams

WithToken adds the token to the send video note params

func (*SendVideoNoteParams) WithVideoNote

func (o *SendVideoNoteParams) WithVideoNote(videoNote runtime.NamedReadCloser) *SendVideoNoteParams

WithVideoNote adds the videoNote to the send video note params

func (*SendVideoNoteParams) WriteToRequest

func (o *SendVideoNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendVideoNoteReader

type SendVideoNoteReader struct {
	// contains filtered or unexported fields
}

SendVideoNoteReader is a Reader for the SendVideoNote structure.

func (*SendVideoNoteReader) ReadResponse

func (o *SendVideoNoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendVideoNoteUnauthorized

type SendVideoNoteUnauthorized struct {
	Payload *models.Error
}

SendVideoNoteUnauthorized handles this case with default header values.

Unauthorized

func NewSendVideoNoteUnauthorized

func NewSendVideoNoteUnauthorized() *SendVideoNoteUnauthorized

NewSendVideoNoteUnauthorized creates a SendVideoNoteUnauthorized with default headers values

func (*SendVideoNoteUnauthorized) Error

func (o *SendVideoNoteUnauthorized) Error() string

type SendVideoOK

type SendVideoOK struct {
	Payload *models.ResponseMessage
}

SendVideoOK handles this case with default header values.

SendVideoOK send video o k

func NewSendVideoOK

func NewSendVideoOK() *SendVideoOK

NewSendVideoOK creates a SendVideoOK with default headers values

func (*SendVideoOK) Error

func (o *SendVideoOK) Error() string

type SendVideoParams

type SendVideoParams struct {

	/*Caption*/
	Caption *string
	/*ChatID*/
	ChatID string
	/*DisableNotification*/
	DisableNotification *bool
	/*Duration*/
	Duration *int64
	/*Height*/
	Height *int64
	/*ReplyMarkup
	  json string of reply_markup object

	*/
	ReplyMarkup *string
	/*ReplyToMessageID*/
	ReplyToMessageID *int64
	/*Token
	  bot's token to authorize the request

	*/
	Token *string
	/*Video*/
	Video runtime.NamedReadCloser
	/*Width*/
	Width *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendVideoParams contains all the parameters to send to the API endpoint for the send video operation typically these are written to a http.Request

func NewSendVideoParams

func NewSendVideoParams() *SendVideoParams

NewSendVideoParams creates a new SendVideoParams object with the default values initialized.

func NewSendVideoParamsWithContext

func NewSendVideoParamsWithContext(ctx context.Context) *SendVideoParams

NewSendVideoParamsWithContext creates a new SendVideoParams object with the default values initialized, and the ability to set a context for a request

func NewSendVideoParamsWithHTTPClient

func NewSendVideoParamsWithHTTPClient(client *http.Client) *SendVideoParams

NewSendVideoParamsWithHTTPClient creates a new SendVideoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendVideoParamsWithTimeout

func NewSendVideoParamsWithTimeout(timeout time.Duration) *SendVideoParams

NewSendVideoParamsWithTimeout creates a new SendVideoParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendVideoParams) SetCaption

func (o *SendVideoParams) SetCaption(caption *string)

SetCaption adds the caption to the send video params

func (*SendVideoParams) SetChatID

func (o *SendVideoParams) SetChatID(chatID string)

SetChatID adds the chatId to the send video params

func (*SendVideoParams) SetContext

func (o *SendVideoParams) SetContext(ctx context.Context)

SetContext adds the context to the send video params

func (*SendVideoParams) SetDisableNotification

func (o *SendVideoParams) SetDisableNotification(disableNotification *bool)

SetDisableNotification adds the disableNotification to the send video params

func (*SendVideoParams) SetDuration

func (o *SendVideoParams) SetDuration(duration *int64)

SetDuration adds the duration to the send video params

func (*SendVideoParams) SetHTTPClient

func (o *SendVideoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send video params

func (*SendVideoParams) SetHeight

func (o *SendVideoParams) SetHeight(height *int64)

SetHeight adds the height to the send video params

func (*SendVideoParams) SetReplyMarkup

func (o *SendVideoParams) SetReplyMarkup(replyMarkup *string)

SetReplyMarkup adds the replyMarkup to the send video params

func (*SendVideoParams) SetReplyToMessageID

func (o *SendVideoParams) SetReplyToMessageID(replyToMessageID *int64)

SetReplyToMessageID adds the replyToMessageId to the send video params

func (*SendVideoParams) SetTimeout

func (o *SendVideoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send video params

func (*SendVideoParams) SetToken

func (o *SendVideoParams) SetToken(token *string)

SetToken adds the token to the send video params

func (*SendVideoParams) SetVideo

func (o *SendVideoParams) SetVideo(video runtime.NamedReadCloser)

SetVideo adds the video to the send video params

func (*SendVideoParams) SetWidth

func (o *SendVideoParams) SetWidth(width *int64)

SetWidth adds the width to the send video params

func (*SendVideoParams) WithCaption

func (o *SendVideoParams) WithCaption(caption *string) *SendVideoParams

WithCaption adds the caption to the send video params

func (*SendVideoParams) WithChatID

func (o *SendVideoParams) WithChatID(chatID string) *SendVideoParams

WithChatID adds the chatID to the send video params

func (*SendVideoParams) WithContext

func (o *SendVideoParams) WithContext(ctx context.Context) *SendVideoParams

WithContext adds the context to the send video params

func (*SendVideoParams) WithDisableNotification

func (o *SendVideoParams) WithDisableNotification(disableNotification *bool) *SendVideoParams

WithDisableNotification adds the disableNotification to the send video params

func (*SendVideoParams) WithDuration

func (o *SendVideoParams) WithDuration(duration *int64) *SendVideoParams

WithDuration adds the duration to the send video params

func (*SendVideoParams) WithHTTPClient

func (o *SendVideoParams) WithHTTPClient(client *http.Client) *SendVideoParams

WithHTTPClient adds the HTTPClient to the send video params

func (*SendVideoParams) WithHeight

func (o *SendVideoParams) WithHeight(height *int64) *SendVideoParams

WithHeight adds the height to the send video params

func (*SendVideoParams) WithReplyMarkup

func (o *SendVideoParams) WithReplyMarkup(replyMarkup *string) *SendVideoParams

WithReplyMarkup adds the replyMarkup to the send video params

func (*SendVideoParams) WithReplyToMessageID

func (o *SendVideoParams) WithReplyToMessageID(replyToMessageID *int64) *SendVideoParams

WithReplyToMessageID adds the replyToMessageID to the send video params

func (*SendVideoParams) WithTimeout

func (o *SendVideoParams) WithTimeout(timeout time.Duration) *SendVideoParams

WithTimeout adds the timeout to the send video params

func (*SendVideoParams) WithToken

func (o *SendVideoParams) WithToken(token *string) *SendVideoParams

WithToken adds the token to the send video params

func (*SendVideoParams) WithVideo

WithVideo adds the video to the send video params

func (*SendVideoParams) WithWidth

func (o *SendVideoParams) WithWidth(width *int64) *SendVideoParams

WithWidth adds the width to the send video params

func (*SendVideoParams) WriteToRequest

func (o *SendVideoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendVideoReader

type SendVideoReader struct {
	// contains filtered or unexported fields
}

SendVideoReader is a Reader for the SendVideo structure.

func (*SendVideoReader) ReadResponse

func (o *SendVideoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendVideoUnauthorized

type SendVideoUnauthorized struct {
	Payload *models.Error
}

SendVideoUnauthorized handles this case with default header values.

Unauthorized

func NewSendVideoUnauthorized

func NewSendVideoUnauthorized() *SendVideoUnauthorized

NewSendVideoUnauthorized creates a SendVideoUnauthorized with default headers values

func (*SendVideoUnauthorized) Error

func (o *SendVideoUnauthorized) Error() string

type SendVoiceBadRequest

type SendVoiceBadRequest struct {
	Payload *models.Error
}

SendVoiceBadRequest handles this case with default header values.

Bad Request

func NewSendVoiceBadRequest

func NewSendVoiceBadRequest() *SendVoiceBadRequest

NewSendVoiceBadRequest creates a SendVoiceBadRequest with default headers values

func (*SendVoiceBadRequest) Error

func (o *SendVoiceBadRequest) Error() string

type SendVoiceEnhanceYourCalm

type SendVoiceEnhanceYourCalm struct {
	Payload *models.Error
}

SendVoiceEnhanceYourCalm handles this case with default header values.

Flood

func NewSendVoiceEnhanceYourCalm

func NewSendVoiceEnhanceYourCalm() *SendVoiceEnhanceYourCalm

NewSendVoiceEnhanceYourCalm creates a SendVoiceEnhanceYourCalm with default headers values

func (*SendVoiceEnhanceYourCalm) Error

func (o *SendVoiceEnhanceYourCalm) Error() string

type SendVoiceForbidden

type SendVoiceForbidden struct {
	Payload *models.Error
}

SendVoiceForbidden handles this case with default header values.

Forbidden

func NewSendVoiceForbidden

func NewSendVoiceForbidden() *SendVoiceForbidden

NewSendVoiceForbidden creates a SendVoiceForbidden with default headers values

func (*SendVoiceForbidden) Error

func (o *SendVoiceForbidden) Error() string

type SendVoiceInternalServerError

type SendVoiceInternalServerError struct {
	Payload *models.Error
}

SendVoiceInternalServerError handles this case with default header values.

Internal

func NewSendVoiceInternalServerError

func NewSendVoiceInternalServerError() *SendVoiceInternalServerError

NewSendVoiceInternalServerError creates a SendVoiceInternalServerError with default headers values

func (*SendVoiceInternalServerError) Error

type SendVoiceLinkBadRequest

type SendVoiceLinkBadRequest struct {
	Payload *models.Error
}

SendVoiceLinkBadRequest handles this case with default header values.

Bad Request

func NewSendVoiceLinkBadRequest

func NewSendVoiceLinkBadRequest() *SendVoiceLinkBadRequest

NewSendVoiceLinkBadRequest creates a SendVoiceLinkBadRequest with default headers values

func (*SendVoiceLinkBadRequest) Error

func (o *SendVoiceLinkBadRequest) Error() string

type SendVoiceLinkEnhanceYourCalm

type SendVoiceLinkEnhanceYourCalm struct {
	Payload *models.Error
}

SendVoiceLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewSendVoiceLinkEnhanceYourCalm

func NewSendVoiceLinkEnhanceYourCalm() *SendVoiceLinkEnhanceYourCalm

NewSendVoiceLinkEnhanceYourCalm creates a SendVoiceLinkEnhanceYourCalm with default headers values

func (*SendVoiceLinkEnhanceYourCalm) Error

type SendVoiceLinkForbidden

type SendVoiceLinkForbidden struct {
	Payload *models.Error
}

SendVoiceLinkForbidden handles this case with default header values.

Forbidden

func NewSendVoiceLinkForbidden

func NewSendVoiceLinkForbidden() *SendVoiceLinkForbidden

NewSendVoiceLinkForbidden creates a SendVoiceLinkForbidden with default headers values

func (*SendVoiceLinkForbidden) Error

func (o *SendVoiceLinkForbidden) Error() string

type SendVoiceLinkInternalServerError

type SendVoiceLinkInternalServerError struct {
	Payload *models.Error
}

SendVoiceLinkInternalServerError handles this case with default header values.

Internal

func NewSendVoiceLinkInternalServerError

func NewSendVoiceLinkInternalServerError() *SendVoiceLinkInternalServerError

NewSendVoiceLinkInternalServerError creates a SendVoiceLinkInternalServerError with default headers values

func (*SendVoiceLinkInternalServerError) Error

type SendVoiceLinkNotFound

type SendVoiceLinkNotFound struct {
	Payload *models.Error
}

SendVoiceLinkNotFound handles this case with default header values.

Not Found

func NewSendVoiceLinkNotFound

func NewSendVoiceLinkNotFound() *SendVoiceLinkNotFound

NewSendVoiceLinkNotFound creates a SendVoiceLinkNotFound with default headers values

func (*SendVoiceLinkNotFound) Error

func (o *SendVoiceLinkNotFound) Error() string

type SendVoiceLinkOK

type SendVoiceLinkOK struct {
	Payload *models.ResponseMessage
}

SendVoiceLinkOK handles this case with default header values.

SendVoiceLinkOK send voice link o k

func NewSendVoiceLinkOK

func NewSendVoiceLinkOK() *SendVoiceLinkOK

NewSendVoiceLinkOK creates a SendVoiceLinkOK with default headers values

func (*SendVoiceLinkOK) Error

func (o *SendVoiceLinkOK) Error() string

type SendVoiceLinkParams

type SendVoiceLinkParams struct {

	/*Body*/
	Body *models.SendVoiceLinkBody
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendVoiceLinkParams contains all the parameters to send to the API endpoint for the send voice link operation typically these are written to a http.Request

func NewSendVoiceLinkParams

func NewSendVoiceLinkParams() *SendVoiceLinkParams

NewSendVoiceLinkParams creates a new SendVoiceLinkParams object with the default values initialized.

func NewSendVoiceLinkParamsWithContext

func NewSendVoiceLinkParamsWithContext(ctx context.Context) *SendVoiceLinkParams

NewSendVoiceLinkParamsWithContext creates a new SendVoiceLinkParams object with the default values initialized, and the ability to set a context for a request

func NewSendVoiceLinkParamsWithHTTPClient

func NewSendVoiceLinkParamsWithHTTPClient(client *http.Client) *SendVoiceLinkParams

NewSendVoiceLinkParamsWithHTTPClient creates a new SendVoiceLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendVoiceLinkParamsWithTimeout

func NewSendVoiceLinkParamsWithTimeout(timeout time.Duration) *SendVoiceLinkParams

NewSendVoiceLinkParamsWithTimeout creates a new SendVoiceLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendVoiceLinkParams) SetBody

func (o *SendVoiceLinkParams) SetBody(body *models.SendVoiceLinkBody)

SetBody adds the body to the send voice link params

func (*SendVoiceLinkParams) SetContext

func (o *SendVoiceLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the send voice link params

func (*SendVoiceLinkParams) SetHTTPClient

func (o *SendVoiceLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send voice link params

func (*SendVoiceLinkParams) SetTimeout

func (o *SendVoiceLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send voice link params

func (*SendVoiceLinkParams) SetToken

func (o *SendVoiceLinkParams) SetToken(token *string)

SetToken adds the token to the send voice link params

func (*SendVoiceLinkParams) WithBody

WithBody adds the body to the send voice link params

func (*SendVoiceLinkParams) WithContext

WithContext adds the context to the send voice link params

func (*SendVoiceLinkParams) WithHTTPClient

func (o *SendVoiceLinkParams) WithHTTPClient(client *http.Client) *SendVoiceLinkParams

WithHTTPClient adds the HTTPClient to the send voice link params

func (*SendVoiceLinkParams) WithTimeout

func (o *SendVoiceLinkParams) WithTimeout(timeout time.Duration) *SendVoiceLinkParams

WithTimeout adds the timeout to the send voice link params

func (*SendVoiceLinkParams) WithToken

func (o *SendVoiceLinkParams) WithToken(token *string) *SendVoiceLinkParams

WithToken adds the token to the send voice link params

func (*SendVoiceLinkParams) WriteToRequest

func (o *SendVoiceLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendVoiceLinkReader

type SendVoiceLinkReader struct {
	// contains filtered or unexported fields
}

SendVoiceLinkReader is a Reader for the SendVoiceLink structure.

func (*SendVoiceLinkReader) ReadResponse

func (o *SendVoiceLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendVoiceLinkUnauthorized

type SendVoiceLinkUnauthorized struct {
	Payload *models.Error
}

SendVoiceLinkUnauthorized handles this case with default header values.

Unauthorized

func NewSendVoiceLinkUnauthorized

func NewSendVoiceLinkUnauthorized() *SendVoiceLinkUnauthorized

NewSendVoiceLinkUnauthorized creates a SendVoiceLinkUnauthorized with default headers values

func (*SendVoiceLinkUnauthorized) Error

func (o *SendVoiceLinkUnauthorized) Error() string

type SendVoiceNotFound

type SendVoiceNotFound struct {
	Payload *models.Error
}

SendVoiceNotFound handles this case with default header values.

Not Found

func NewSendVoiceNotFound

func NewSendVoiceNotFound() *SendVoiceNotFound

NewSendVoiceNotFound creates a SendVoiceNotFound with default headers values

func (*SendVoiceNotFound) Error

func (o *SendVoiceNotFound) Error() string

type SendVoiceOK

type SendVoiceOK struct {
	Payload *models.ResponseMessage
}

SendVoiceOK handles this case with default header values.

SendVoiceOK send voice o k

func NewSendVoiceOK

func NewSendVoiceOK() *SendVoiceOK

NewSendVoiceOK creates a SendVoiceOK with default headers values

func (*SendVoiceOK) Error

func (o *SendVoiceOK) Error() string

type SendVoiceParams

type SendVoiceParams struct {

	/*Caption*/
	Caption *string
	/*ChatID*/
	ChatID string
	/*DisableNotification*/
	DisableNotification *bool
	/*Duration*/
	Duration *int64
	/*ReplyMarkup
	  json string of reply_markup object

	*/
	ReplyMarkup *string
	/*ReplyToMessageID*/
	ReplyToMessageID *int64
	/*Token
	  bot's token to authorize the request

	*/
	Token *string
	/*Voice*/
	Voice runtime.NamedReadCloser

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendVoiceParams contains all the parameters to send to the API endpoint for the send voice operation typically these are written to a http.Request

func NewSendVoiceParams

func NewSendVoiceParams() *SendVoiceParams

NewSendVoiceParams creates a new SendVoiceParams object with the default values initialized.

func NewSendVoiceParamsWithContext

func NewSendVoiceParamsWithContext(ctx context.Context) *SendVoiceParams

NewSendVoiceParamsWithContext creates a new SendVoiceParams object with the default values initialized, and the ability to set a context for a request

func NewSendVoiceParamsWithHTTPClient

func NewSendVoiceParamsWithHTTPClient(client *http.Client) *SendVoiceParams

NewSendVoiceParamsWithHTTPClient creates a new SendVoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendVoiceParamsWithTimeout

func NewSendVoiceParamsWithTimeout(timeout time.Duration) *SendVoiceParams

NewSendVoiceParamsWithTimeout creates a new SendVoiceParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendVoiceParams) SetCaption

func (o *SendVoiceParams) SetCaption(caption *string)

SetCaption adds the caption to the send voice params

func (*SendVoiceParams) SetChatID

func (o *SendVoiceParams) SetChatID(chatID string)

SetChatID adds the chatId to the send voice params

func (*SendVoiceParams) SetContext

func (o *SendVoiceParams) SetContext(ctx context.Context)

SetContext adds the context to the send voice params

func (*SendVoiceParams) SetDisableNotification

func (o *SendVoiceParams) SetDisableNotification(disableNotification *bool)

SetDisableNotification adds the disableNotification to the send voice params

func (*SendVoiceParams) SetDuration

func (o *SendVoiceParams) SetDuration(duration *int64)

SetDuration adds the duration to the send voice params

func (*SendVoiceParams) SetHTTPClient

func (o *SendVoiceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send voice params

func (*SendVoiceParams) SetReplyMarkup

func (o *SendVoiceParams) SetReplyMarkup(replyMarkup *string)

SetReplyMarkup adds the replyMarkup to the send voice params

func (*SendVoiceParams) SetReplyToMessageID

func (o *SendVoiceParams) SetReplyToMessageID(replyToMessageID *int64)

SetReplyToMessageID adds the replyToMessageId to the send voice params

func (*SendVoiceParams) SetTimeout

func (o *SendVoiceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send voice params

func (*SendVoiceParams) SetToken

func (o *SendVoiceParams) SetToken(token *string)

SetToken adds the token to the send voice params

func (*SendVoiceParams) SetVoice

func (o *SendVoiceParams) SetVoice(voice runtime.NamedReadCloser)

SetVoice adds the voice to the send voice params

func (*SendVoiceParams) WithCaption

func (o *SendVoiceParams) WithCaption(caption *string) *SendVoiceParams

WithCaption adds the caption to the send voice params

func (*SendVoiceParams) WithChatID

func (o *SendVoiceParams) WithChatID(chatID string) *SendVoiceParams

WithChatID adds the chatID to the send voice params

func (*SendVoiceParams) WithContext

func (o *SendVoiceParams) WithContext(ctx context.Context) *SendVoiceParams

WithContext adds the context to the send voice params

func (*SendVoiceParams) WithDisableNotification

func (o *SendVoiceParams) WithDisableNotification(disableNotification *bool) *SendVoiceParams

WithDisableNotification adds the disableNotification to the send voice params

func (*SendVoiceParams) WithDuration

func (o *SendVoiceParams) WithDuration(duration *int64) *SendVoiceParams

WithDuration adds the duration to the send voice params

func (*SendVoiceParams) WithHTTPClient

func (o *SendVoiceParams) WithHTTPClient(client *http.Client) *SendVoiceParams

WithHTTPClient adds the HTTPClient to the send voice params

func (*SendVoiceParams) WithReplyMarkup

func (o *SendVoiceParams) WithReplyMarkup(replyMarkup *string) *SendVoiceParams

WithReplyMarkup adds the replyMarkup to the send voice params

func (*SendVoiceParams) WithReplyToMessageID

func (o *SendVoiceParams) WithReplyToMessageID(replyToMessageID *int64) *SendVoiceParams

WithReplyToMessageID adds the replyToMessageID to the send voice params

func (*SendVoiceParams) WithTimeout

func (o *SendVoiceParams) WithTimeout(timeout time.Duration) *SendVoiceParams

WithTimeout adds the timeout to the send voice params

func (*SendVoiceParams) WithToken

func (o *SendVoiceParams) WithToken(token *string) *SendVoiceParams

WithToken adds the token to the send voice params

func (*SendVoiceParams) WithVoice

WithVoice adds the voice to the send voice params

func (*SendVoiceParams) WriteToRequest

func (o *SendVoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendVoiceReader

type SendVoiceReader struct {
	// contains filtered or unexported fields
}

SendVoiceReader is a Reader for the SendVoice structure.

func (*SendVoiceReader) ReadResponse

func (o *SendVoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendVoiceUnauthorized

type SendVoiceUnauthorized struct {
	Payload *models.Error
}

SendVoiceUnauthorized handles this case with default header values.

Unauthorized

func NewSendVoiceUnauthorized

func NewSendVoiceUnauthorized() *SendVoiceUnauthorized

NewSendVoiceUnauthorized creates a SendVoiceUnauthorized with default headers values

func (*SendVoiceUnauthorized) Error

func (o *SendVoiceUnauthorized) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL