Documentation ¶
Index ¶
- type Client
- func (a *Client) GetFile(params *GetFileParams) (*GetFileOK, error)
- func (a *Client) SendAudio(params *SendAudioParams) (*SendAudioOK, error)
- func (a *Client) SendAudioLink(params *SendAudioLinkParams) (*SendAudioLinkOK, error)
- func (a *Client) SendContact(params *SendContactParams) (*SendContactOK, error)
- func (a *Client) SendDocument(params *SendDocumentParams) (*SendDocumentOK, error)
- func (a *Client) SendDocumentLink(params *SendDocumentLinkParams) (*SendDocumentLinkOK, error)
- func (a *Client) SendLocation(params *SendLocationParams) (*SendLocationOK, error)
- func (a *Client) SendPhoto(params *SendPhotoParams) (*SendPhotoOK, error)
- func (a *Client) SendPhotoLink(params *SendPhotoLinkParams) (*SendPhotoLinkOK, error)
- func (a *Client) SendSticker(params *SendStickerParams) (*SendStickerOK, error)
- func (a *Client) SendStickerLink(params *SendStickerLinkParams) (*SendStickerLinkOK, error)
- func (a *Client) SendVenue(params *SendVenueParams) (*SendVenueOK, error)
- func (a *Client) SendVideo(params *SendVideoParams) (*SendVideoOK, error)
- func (a *Client) SendVideoLink(params *SendVideoLinkParams) (*SendVideoLinkOK, error)
- func (a *Client) SendVideoNote(params *SendVideoNoteParams) (*SendVideoNoteOK, error)
- func (a *Client) SendVideoNoteLink(params *SendVideoNoteLinkParams) (*SendVideoNoteLinkOK, error)
- func (a *Client) SendVoice(params *SendVoiceParams) (*SendVoiceOK, error)
- func (a *Client) SendVoiceLink(params *SendVoiceLinkParams) (*SendVoiceLinkOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetFileBadRequest
- type GetFileEnhanceYourCalm
- type GetFileForbidden
- type GetFileInternalServerError
- type GetFileNotFound
- type GetFileOK
- type GetFileOKBody
- type GetFileParams
- func (o *GetFileParams) SetContext(ctx context.Context)
- func (o *GetFileParams) SetFileID(fileID string)
- func (o *GetFileParams) SetHTTPClient(client *http.Client)
- func (o *GetFileParams) SetTimeout(timeout time.Duration)
- func (o *GetFileParams) SetToken(token *string)
- func (o *GetFileParams) WithContext(ctx context.Context) *GetFileParams
- func (o *GetFileParams) WithFileID(fileID string) *GetFileParams
- func (o *GetFileParams) WithHTTPClient(client *http.Client) *GetFileParams
- func (o *GetFileParams) WithTimeout(timeout time.Duration) *GetFileParams
- func (o *GetFileParams) WithToken(token *string) *GetFileParams
- func (o *GetFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFileReader
- type GetFileUnauthorized
- type SendAudioBadRequest
- type SendAudioEnhanceYourCalm
- type SendAudioForbidden
- type SendAudioInternalServerError
- type SendAudioLinkBadRequest
- type SendAudioLinkEnhanceYourCalm
- type SendAudioLinkForbidden
- type SendAudioLinkInternalServerError
- type SendAudioLinkNotFound
- type SendAudioLinkOK
- type SendAudioLinkParams
- func (o *SendAudioLinkParams) SetBody(body *models.SendAudioLinkBody)
- func (o *SendAudioLinkParams) SetContext(ctx context.Context)
- func (o *SendAudioLinkParams) SetHTTPClient(client *http.Client)
- func (o *SendAudioLinkParams) SetTimeout(timeout time.Duration)
- func (o *SendAudioLinkParams) SetToken(token *string)
- func (o *SendAudioLinkParams) WithBody(body *models.SendAudioLinkBody) *SendAudioLinkParams
- func (o *SendAudioLinkParams) WithContext(ctx context.Context) *SendAudioLinkParams
- func (o *SendAudioLinkParams) WithHTTPClient(client *http.Client) *SendAudioLinkParams
- func (o *SendAudioLinkParams) WithTimeout(timeout time.Duration) *SendAudioLinkParams
- func (o *SendAudioLinkParams) WithToken(token *string) *SendAudioLinkParams
- func (o *SendAudioLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendAudioLinkReader
- type SendAudioLinkUnauthorized
- type SendAudioNotFound
- type SendAudioOK
- type SendAudioParams
- func (o *SendAudioParams) SetAudio(audio runtime.NamedReadCloser)
- func (o *SendAudioParams) SetCaption(caption *string)
- func (o *SendAudioParams) SetChatID(chatID string)
- func (o *SendAudioParams) SetContext(ctx context.Context)
- func (o *SendAudioParams) SetDisableNotification(disableNotification *bool)
- func (o *SendAudioParams) SetDuration(duration *int64)
- func (o *SendAudioParams) SetHTTPClient(client *http.Client)
- func (o *SendAudioParams) SetPerformer(performer *string)
- func (o *SendAudioParams) SetReplyMarkup(replyMarkup *string)
- func (o *SendAudioParams) SetReplyToMessageID(replyToMessageID *int64)
- func (o *SendAudioParams) SetTimeout(timeout time.Duration)
- func (o *SendAudioParams) SetTitle(title *string)
- func (o *SendAudioParams) SetToken(token *string)
- func (o *SendAudioParams) WithAudio(audio runtime.NamedReadCloser) *SendAudioParams
- func (o *SendAudioParams) WithCaption(caption *string) *SendAudioParams
- func (o *SendAudioParams) WithChatID(chatID string) *SendAudioParams
- func (o *SendAudioParams) WithContext(ctx context.Context) *SendAudioParams
- func (o *SendAudioParams) WithDisableNotification(disableNotification *bool) *SendAudioParams
- func (o *SendAudioParams) WithDuration(duration *int64) *SendAudioParams
- func (o *SendAudioParams) WithHTTPClient(client *http.Client) *SendAudioParams
- func (o *SendAudioParams) WithPerformer(performer *string) *SendAudioParams
- func (o *SendAudioParams) WithReplyMarkup(replyMarkup *string) *SendAudioParams
- func (o *SendAudioParams) WithReplyToMessageID(replyToMessageID *int64) *SendAudioParams
- func (o *SendAudioParams) WithTimeout(timeout time.Duration) *SendAudioParams
- func (o *SendAudioParams) WithTitle(title *string) *SendAudioParams
- func (o *SendAudioParams) WithToken(token *string) *SendAudioParams
- func (o *SendAudioParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendAudioReader
- type SendAudioUnauthorized
- type SendContactBadRequest
- type SendContactEnhanceYourCalm
- type SendContactForbidden
- type SendContactInternalServerError
- type SendContactNotFound
- type SendContactOK
- type SendContactParams
- func (o *SendContactParams) SetBody(body *models.SendContactBody)
- func (o *SendContactParams) SetContext(ctx context.Context)
- func (o *SendContactParams) SetHTTPClient(client *http.Client)
- func (o *SendContactParams) SetTimeout(timeout time.Duration)
- func (o *SendContactParams) SetToken(token *string)
- func (o *SendContactParams) WithBody(body *models.SendContactBody) *SendContactParams
- func (o *SendContactParams) WithContext(ctx context.Context) *SendContactParams
- func (o *SendContactParams) WithHTTPClient(client *http.Client) *SendContactParams
- func (o *SendContactParams) WithTimeout(timeout time.Duration) *SendContactParams
- func (o *SendContactParams) WithToken(token *string) *SendContactParams
- func (o *SendContactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendContactReader
- type SendContactUnauthorized
- type SendDocumentBadRequest
- type SendDocumentEnhanceYourCalm
- type SendDocumentForbidden
- type SendDocumentInternalServerError
- type SendDocumentLinkBadRequest
- type SendDocumentLinkEnhanceYourCalm
- type SendDocumentLinkForbidden
- type SendDocumentLinkInternalServerError
- type SendDocumentLinkNotFound
- type SendDocumentLinkOK
- type SendDocumentLinkParams
- func NewSendDocumentLinkParams() *SendDocumentLinkParams
- func NewSendDocumentLinkParamsWithContext(ctx context.Context) *SendDocumentLinkParams
- func NewSendDocumentLinkParamsWithHTTPClient(client *http.Client) *SendDocumentLinkParams
- func NewSendDocumentLinkParamsWithTimeout(timeout time.Duration) *SendDocumentLinkParams
- func (o *SendDocumentLinkParams) SetBody(body *models.SendDocumentLinkBody)
- func (o *SendDocumentLinkParams) SetContext(ctx context.Context)
- func (o *SendDocumentLinkParams) SetHTTPClient(client *http.Client)
- func (o *SendDocumentLinkParams) SetTimeout(timeout time.Duration)
- func (o *SendDocumentLinkParams) SetToken(token *string)
- func (o *SendDocumentLinkParams) WithBody(body *models.SendDocumentLinkBody) *SendDocumentLinkParams
- func (o *SendDocumentLinkParams) WithContext(ctx context.Context) *SendDocumentLinkParams
- func (o *SendDocumentLinkParams) WithHTTPClient(client *http.Client) *SendDocumentLinkParams
- func (o *SendDocumentLinkParams) WithTimeout(timeout time.Duration) *SendDocumentLinkParams
- func (o *SendDocumentLinkParams) WithToken(token *string) *SendDocumentLinkParams
- func (o *SendDocumentLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendDocumentLinkReader
- type SendDocumentLinkUnauthorized
- type SendDocumentNotFound
- type SendDocumentOK
- type SendDocumentParams
- func (o *SendDocumentParams) SetCaption(caption *string)
- func (o *SendDocumentParams) SetChatID(chatID string)
- func (o *SendDocumentParams) SetContext(ctx context.Context)
- func (o *SendDocumentParams) SetDisableNotification(disableNotification *bool)
- func (o *SendDocumentParams) SetDocument(document runtime.NamedReadCloser)
- func (o *SendDocumentParams) SetHTTPClient(client *http.Client)
- func (o *SendDocumentParams) SetReplyMarkup(replyMarkup *string)
- func (o *SendDocumentParams) SetReplyToMessageID(replyToMessageID *int64)
- func (o *SendDocumentParams) SetTimeout(timeout time.Duration)
- func (o *SendDocumentParams) SetToken(token *string)
- func (o *SendDocumentParams) WithCaption(caption *string) *SendDocumentParams
- func (o *SendDocumentParams) WithChatID(chatID string) *SendDocumentParams
- func (o *SendDocumentParams) WithContext(ctx context.Context) *SendDocumentParams
- func (o *SendDocumentParams) WithDisableNotification(disableNotification *bool) *SendDocumentParams
- func (o *SendDocumentParams) WithDocument(document runtime.NamedReadCloser) *SendDocumentParams
- func (o *SendDocumentParams) WithHTTPClient(client *http.Client) *SendDocumentParams
- func (o *SendDocumentParams) WithReplyMarkup(replyMarkup *string) *SendDocumentParams
- func (o *SendDocumentParams) WithReplyToMessageID(replyToMessageID *int64) *SendDocumentParams
- func (o *SendDocumentParams) WithTimeout(timeout time.Duration) *SendDocumentParams
- func (o *SendDocumentParams) WithToken(token *string) *SendDocumentParams
- func (o *SendDocumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendDocumentReader
- type SendDocumentUnauthorized
- type SendLocationBadRequest
- type SendLocationEnhanceYourCalm
- type SendLocationForbidden
- type SendLocationInternalServerError
- type SendLocationNotFound
- type SendLocationOK
- type SendLocationParams
- func (o *SendLocationParams) SetBody(body *models.SendLocationBody)
- func (o *SendLocationParams) SetContext(ctx context.Context)
- func (o *SendLocationParams) SetHTTPClient(client *http.Client)
- func (o *SendLocationParams) SetTimeout(timeout time.Duration)
- func (o *SendLocationParams) SetToken(token *string)
- func (o *SendLocationParams) WithBody(body *models.SendLocationBody) *SendLocationParams
- func (o *SendLocationParams) WithContext(ctx context.Context) *SendLocationParams
- func (o *SendLocationParams) WithHTTPClient(client *http.Client) *SendLocationParams
- func (o *SendLocationParams) WithTimeout(timeout time.Duration) *SendLocationParams
- func (o *SendLocationParams) WithToken(token *string) *SendLocationParams
- func (o *SendLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendLocationReader
- type SendLocationUnauthorized
- type SendPhotoBadRequest
- type SendPhotoEnhanceYourCalm
- type SendPhotoForbidden
- type SendPhotoInternalServerError
- type SendPhotoLinkBadRequest
- type SendPhotoLinkEnhanceYourCalm
- type SendPhotoLinkForbidden
- type SendPhotoLinkInternalServerError
- type SendPhotoLinkNotFound
- type SendPhotoLinkOK
- type SendPhotoLinkParams
- func (o *SendPhotoLinkParams) SetBody(body *models.SendPhotoLinkBody)
- func (o *SendPhotoLinkParams) SetContext(ctx context.Context)
- func (o *SendPhotoLinkParams) SetHTTPClient(client *http.Client)
- func (o *SendPhotoLinkParams) SetTimeout(timeout time.Duration)
- func (o *SendPhotoLinkParams) SetToken(token *string)
- func (o *SendPhotoLinkParams) WithBody(body *models.SendPhotoLinkBody) *SendPhotoLinkParams
- func (o *SendPhotoLinkParams) WithContext(ctx context.Context) *SendPhotoLinkParams
- func (o *SendPhotoLinkParams) WithHTTPClient(client *http.Client) *SendPhotoLinkParams
- func (o *SendPhotoLinkParams) WithTimeout(timeout time.Duration) *SendPhotoLinkParams
- func (o *SendPhotoLinkParams) WithToken(token *string) *SendPhotoLinkParams
- func (o *SendPhotoLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendPhotoLinkReader
- type SendPhotoLinkUnauthorized
- type SendPhotoNotFound
- type SendPhotoOK
- type SendPhotoParams
- func (o *SendPhotoParams) SetCaption(caption *string)
- func (o *SendPhotoParams) SetChatID(chatID string)
- func (o *SendPhotoParams) SetContext(ctx context.Context)
- func (o *SendPhotoParams) SetDisableNotification(disableNotification *bool)
- func (o *SendPhotoParams) SetHTTPClient(client *http.Client)
- func (o *SendPhotoParams) SetPhoto(photo runtime.NamedReadCloser)
- func (o *SendPhotoParams) SetReplyMarkup(replyMarkup *string)
- func (o *SendPhotoParams) SetReplyToMessageID(replyToMessageID *int64)
- func (o *SendPhotoParams) SetTimeout(timeout time.Duration)
- func (o *SendPhotoParams) SetToken(token *string)
- func (o *SendPhotoParams) WithCaption(caption *string) *SendPhotoParams
- func (o *SendPhotoParams) WithChatID(chatID string) *SendPhotoParams
- func (o *SendPhotoParams) WithContext(ctx context.Context) *SendPhotoParams
- func (o *SendPhotoParams) WithDisableNotification(disableNotification *bool) *SendPhotoParams
- func (o *SendPhotoParams) WithHTTPClient(client *http.Client) *SendPhotoParams
- func (o *SendPhotoParams) WithPhoto(photo runtime.NamedReadCloser) *SendPhotoParams
- func (o *SendPhotoParams) WithReplyMarkup(replyMarkup *string) *SendPhotoParams
- func (o *SendPhotoParams) WithReplyToMessageID(replyToMessageID *int64) *SendPhotoParams
- func (o *SendPhotoParams) WithTimeout(timeout time.Duration) *SendPhotoParams
- func (o *SendPhotoParams) WithToken(token *string) *SendPhotoParams
- func (o *SendPhotoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendPhotoReader
- type SendPhotoUnauthorized
- type SendStickerBadRequest
- type SendStickerEnhanceYourCalm
- type SendStickerForbidden
- type SendStickerInternalServerError
- type SendStickerLinkBadRequest
- type SendStickerLinkEnhanceYourCalm
- type SendStickerLinkForbidden
- type SendStickerLinkInternalServerError
- type SendStickerLinkNotFound
- type SendStickerLinkOK
- type SendStickerLinkParams
- func NewSendStickerLinkParams() *SendStickerLinkParams
- func NewSendStickerLinkParamsWithContext(ctx context.Context) *SendStickerLinkParams
- func NewSendStickerLinkParamsWithHTTPClient(client *http.Client) *SendStickerLinkParams
- func NewSendStickerLinkParamsWithTimeout(timeout time.Duration) *SendStickerLinkParams
- func (o *SendStickerLinkParams) SetBody(body *models.SendStickerLinkBody)
- func (o *SendStickerLinkParams) SetContext(ctx context.Context)
- func (o *SendStickerLinkParams) SetHTTPClient(client *http.Client)
- func (o *SendStickerLinkParams) SetTimeout(timeout time.Duration)
- func (o *SendStickerLinkParams) SetToken(token *string)
- func (o *SendStickerLinkParams) WithBody(body *models.SendStickerLinkBody) *SendStickerLinkParams
- func (o *SendStickerLinkParams) WithContext(ctx context.Context) *SendStickerLinkParams
- func (o *SendStickerLinkParams) WithHTTPClient(client *http.Client) *SendStickerLinkParams
- func (o *SendStickerLinkParams) WithTimeout(timeout time.Duration) *SendStickerLinkParams
- func (o *SendStickerLinkParams) WithToken(token *string) *SendStickerLinkParams
- func (o *SendStickerLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendStickerLinkReader
- type SendStickerLinkUnauthorized
- type SendStickerNotFound
- type SendStickerOK
- type SendStickerParams
- func (o *SendStickerParams) SetChatID(chatID string)
- func (o *SendStickerParams) SetContext(ctx context.Context)
- func (o *SendStickerParams) SetDisableNotification(disableNotification *bool)
- func (o *SendStickerParams) SetHTTPClient(client *http.Client)
- func (o *SendStickerParams) SetReplyMarkup(replyMarkup *string)
- func (o *SendStickerParams) SetReplyToMessageID(replyToMessageID *int64)
- func (o *SendStickerParams) SetSticker(sticker runtime.NamedReadCloser)
- func (o *SendStickerParams) SetTimeout(timeout time.Duration)
- func (o *SendStickerParams) SetToken(token *string)
- func (o *SendStickerParams) WithChatID(chatID string) *SendStickerParams
- func (o *SendStickerParams) WithContext(ctx context.Context) *SendStickerParams
- func (o *SendStickerParams) WithDisableNotification(disableNotification *bool) *SendStickerParams
- func (o *SendStickerParams) WithHTTPClient(client *http.Client) *SendStickerParams
- func (o *SendStickerParams) WithReplyMarkup(replyMarkup *string) *SendStickerParams
- func (o *SendStickerParams) WithReplyToMessageID(replyToMessageID *int64) *SendStickerParams
- func (o *SendStickerParams) WithSticker(sticker runtime.NamedReadCloser) *SendStickerParams
- func (o *SendStickerParams) WithTimeout(timeout time.Duration) *SendStickerParams
- func (o *SendStickerParams) WithToken(token *string) *SendStickerParams
- func (o *SendStickerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendStickerReader
- type SendStickerUnauthorized
- type SendVenueBadRequest
- type SendVenueEnhanceYourCalm
- type SendVenueForbidden
- type SendVenueInternalServerError
- type SendVenueNotFound
- type SendVenueOK
- type SendVenueParams
- func (o *SendVenueParams) SetBody(body *models.SendVenueBody)
- func (o *SendVenueParams) SetContext(ctx context.Context)
- func (o *SendVenueParams) SetHTTPClient(client *http.Client)
- func (o *SendVenueParams) SetTimeout(timeout time.Duration)
- func (o *SendVenueParams) SetToken(token *string)
- func (o *SendVenueParams) WithBody(body *models.SendVenueBody) *SendVenueParams
- func (o *SendVenueParams) WithContext(ctx context.Context) *SendVenueParams
- func (o *SendVenueParams) WithHTTPClient(client *http.Client) *SendVenueParams
- func (o *SendVenueParams) WithTimeout(timeout time.Duration) *SendVenueParams
- func (o *SendVenueParams) WithToken(token *string) *SendVenueParams
- func (o *SendVenueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVenueReader
- type SendVenueUnauthorized
- type SendVideoBadRequest
- type SendVideoEnhanceYourCalm
- type SendVideoForbidden
- type SendVideoInternalServerError
- type SendVideoLinkBadRequest
- type SendVideoLinkEnhanceYourCalm
- type SendVideoLinkForbidden
- type SendVideoLinkInternalServerError
- type SendVideoLinkNotFound
- type SendVideoLinkOK
- type SendVideoLinkParams
- func (o *SendVideoLinkParams) SetBody(body *models.SendVideoLinkBody)
- func (o *SendVideoLinkParams) SetContext(ctx context.Context)
- func (o *SendVideoLinkParams) SetHTTPClient(client *http.Client)
- func (o *SendVideoLinkParams) SetTimeout(timeout time.Duration)
- func (o *SendVideoLinkParams) SetToken(token *string)
- func (o *SendVideoLinkParams) WithBody(body *models.SendVideoLinkBody) *SendVideoLinkParams
- func (o *SendVideoLinkParams) WithContext(ctx context.Context) *SendVideoLinkParams
- func (o *SendVideoLinkParams) WithHTTPClient(client *http.Client) *SendVideoLinkParams
- func (o *SendVideoLinkParams) WithTimeout(timeout time.Duration) *SendVideoLinkParams
- func (o *SendVideoLinkParams) WithToken(token *string) *SendVideoLinkParams
- func (o *SendVideoLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVideoLinkReader
- type SendVideoLinkUnauthorized
- type SendVideoNotFound
- type SendVideoNoteBadRequest
- type SendVideoNoteEnhanceYourCalm
- type SendVideoNoteForbidden
- type SendVideoNoteInternalServerError
- type SendVideoNoteLinkBadRequest
- type SendVideoNoteLinkEnhanceYourCalm
- type SendVideoNoteLinkForbidden
- type SendVideoNoteLinkInternalServerError
- type SendVideoNoteLinkNotFound
- type SendVideoNoteLinkOK
- type SendVideoNoteLinkParams
- func NewSendVideoNoteLinkParams() *SendVideoNoteLinkParams
- func NewSendVideoNoteLinkParamsWithContext(ctx context.Context) *SendVideoNoteLinkParams
- func NewSendVideoNoteLinkParamsWithHTTPClient(client *http.Client) *SendVideoNoteLinkParams
- func NewSendVideoNoteLinkParamsWithTimeout(timeout time.Duration) *SendVideoNoteLinkParams
- func (o *SendVideoNoteLinkParams) SetBody(body *models.SendVideoNoteLinkBody)
- func (o *SendVideoNoteLinkParams) SetContext(ctx context.Context)
- func (o *SendVideoNoteLinkParams) SetHTTPClient(client *http.Client)
- func (o *SendVideoNoteLinkParams) SetTimeout(timeout time.Duration)
- func (o *SendVideoNoteLinkParams) SetToken(token *string)
- func (o *SendVideoNoteLinkParams) WithBody(body *models.SendVideoNoteLinkBody) *SendVideoNoteLinkParams
- func (o *SendVideoNoteLinkParams) WithContext(ctx context.Context) *SendVideoNoteLinkParams
- func (o *SendVideoNoteLinkParams) WithHTTPClient(client *http.Client) *SendVideoNoteLinkParams
- func (o *SendVideoNoteLinkParams) WithTimeout(timeout time.Duration) *SendVideoNoteLinkParams
- func (o *SendVideoNoteLinkParams) WithToken(token *string) *SendVideoNoteLinkParams
- func (o *SendVideoNoteLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVideoNoteLinkReader
- type SendVideoNoteLinkUnauthorized
- type SendVideoNoteNotFound
- type SendVideoNoteOK
- type SendVideoNoteParams
- func (o *SendVideoNoteParams) SetChatID(chatID string)
- func (o *SendVideoNoteParams) SetContext(ctx context.Context)
- func (o *SendVideoNoteParams) SetDisableNotification(disableNotification *bool)
- func (o *SendVideoNoteParams) SetDuration(duration *int64)
- func (o *SendVideoNoteParams) SetHTTPClient(client *http.Client)
- func (o *SendVideoNoteParams) SetLength(length *int64)
- func (o *SendVideoNoteParams) SetReplyMarkup(replyMarkup *string)
- func (o *SendVideoNoteParams) SetReplyToMessageID(replyToMessageID *int64)
- func (o *SendVideoNoteParams) SetTimeout(timeout time.Duration)
- func (o *SendVideoNoteParams) SetToken(token *string)
- func (o *SendVideoNoteParams) SetVideoNote(videoNote runtime.NamedReadCloser)
- func (o *SendVideoNoteParams) WithChatID(chatID string) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithContext(ctx context.Context) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithDisableNotification(disableNotification *bool) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithDuration(duration *int64) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithHTTPClient(client *http.Client) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithLength(length *int64) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithReplyMarkup(replyMarkup *string) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithReplyToMessageID(replyToMessageID *int64) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithTimeout(timeout time.Duration) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithToken(token *string) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WithVideoNote(videoNote runtime.NamedReadCloser) *SendVideoNoteParams
- func (o *SendVideoNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVideoNoteReader
- type SendVideoNoteUnauthorized
- type SendVideoOK
- type SendVideoParams
- func (o *SendVideoParams) SetCaption(caption *string)
- func (o *SendVideoParams) SetChatID(chatID string)
- func (o *SendVideoParams) SetContext(ctx context.Context)
- func (o *SendVideoParams) SetDisableNotification(disableNotification *bool)
- func (o *SendVideoParams) SetDuration(duration *int64)
- func (o *SendVideoParams) SetHTTPClient(client *http.Client)
- func (o *SendVideoParams) SetHeight(height *int64)
- func (o *SendVideoParams) SetReplyMarkup(replyMarkup *string)
- func (o *SendVideoParams) SetReplyToMessageID(replyToMessageID *int64)
- func (o *SendVideoParams) SetTimeout(timeout time.Duration)
- func (o *SendVideoParams) SetToken(token *string)
- func (o *SendVideoParams) SetVideo(video runtime.NamedReadCloser)
- func (o *SendVideoParams) SetWidth(width *int64)
- func (o *SendVideoParams) WithCaption(caption *string) *SendVideoParams
- func (o *SendVideoParams) WithChatID(chatID string) *SendVideoParams
- func (o *SendVideoParams) WithContext(ctx context.Context) *SendVideoParams
- func (o *SendVideoParams) WithDisableNotification(disableNotification *bool) *SendVideoParams
- func (o *SendVideoParams) WithDuration(duration *int64) *SendVideoParams
- func (o *SendVideoParams) WithHTTPClient(client *http.Client) *SendVideoParams
- func (o *SendVideoParams) WithHeight(height *int64) *SendVideoParams
- func (o *SendVideoParams) WithReplyMarkup(replyMarkup *string) *SendVideoParams
- func (o *SendVideoParams) WithReplyToMessageID(replyToMessageID *int64) *SendVideoParams
- func (o *SendVideoParams) WithTimeout(timeout time.Duration) *SendVideoParams
- func (o *SendVideoParams) WithToken(token *string) *SendVideoParams
- func (o *SendVideoParams) WithVideo(video runtime.NamedReadCloser) *SendVideoParams
- func (o *SendVideoParams) WithWidth(width *int64) *SendVideoParams
- func (o *SendVideoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVideoReader
- type SendVideoUnauthorized
- type SendVoiceBadRequest
- type SendVoiceEnhanceYourCalm
- type SendVoiceForbidden
- type SendVoiceInternalServerError
- type SendVoiceLinkBadRequest
- type SendVoiceLinkEnhanceYourCalm
- type SendVoiceLinkForbidden
- type SendVoiceLinkInternalServerError
- type SendVoiceLinkNotFound
- type SendVoiceLinkOK
- type SendVoiceLinkParams
- func (o *SendVoiceLinkParams) SetBody(body *models.SendVoiceLinkBody)
- func (o *SendVoiceLinkParams) SetContext(ctx context.Context)
- func (o *SendVoiceLinkParams) SetHTTPClient(client *http.Client)
- func (o *SendVoiceLinkParams) SetTimeout(timeout time.Duration)
- func (o *SendVoiceLinkParams) SetToken(token *string)
- func (o *SendVoiceLinkParams) WithBody(body *models.SendVoiceLinkBody) *SendVoiceLinkParams
- func (o *SendVoiceLinkParams) WithContext(ctx context.Context) *SendVoiceLinkParams
- func (o *SendVoiceLinkParams) WithHTTPClient(client *http.Client) *SendVoiceLinkParams
- func (o *SendVoiceLinkParams) WithTimeout(timeout time.Duration) *SendVoiceLinkParams
- func (o *SendVoiceLinkParams) WithToken(token *string) *SendVoiceLinkParams
- func (o *SendVoiceLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVoiceLinkReader
- type SendVoiceLinkUnauthorized
- type SendVoiceNotFound
- type SendVoiceOK
- type SendVoiceParams
- func (o *SendVoiceParams) SetCaption(caption *string)
- func (o *SendVoiceParams) SetChatID(chatID string)
- func (o *SendVoiceParams) SetContext(ctx context.Context)
- func (o *SendVoiceParams) SetDisableNotification(disableNotification *bool)
- func (o *SendVoiceParams) SetDuration(duration *int64)
- func (o *SendVoiceParams) SetHTTPClient(client *http.Client)
- func (o *SendVoiceParams) SetReplyMarkup(replyMarkup *string)
- func (o *SendVoiceParams) SetReplyToMessageID(replyToMessageID *int64)
- func (o *SendVoiceParams) SetTimeout(timeout time.Duration)
- func (o *SendVoiceParams) SetToken(token *string)
- func (o *SendVoiceParams) SetVoice(voice runtime.NamedReadCloser)
- func (o *SendVoiceParams) WithCaption(caption *string) *SendVoiceParams
- func (o *SendVoiceParams) WithChatID(chatID string) *SendVoiceParams
- func (o *SendVoiceParams) WithContext(ctx context.Context) *SendVoiceParams
- func (o *SendVoiceParams) WithDisableNotification(disableNotification *bool) *SendVoiceParams
- func (o *SendVoiceParams) WithDuration(duration *int64) *SendVoiceParams
- func (o *SendVoiceParams) WithHTTPClient(client *http.Client) *SendVoiceParams
- func (o *SendVoiceParams) WithReplyMarkup(replyMarkup *string) *SendVoiceParams
- func (o *SendVoiceParams) WithReplyToMessageID(replyToMessageID *int64) *SendVoiceParams
- func (o *SendVoiceParams) WithTimeout(timeout time.Duration) *SendVoiceParams
- func (o *SendVoiceParams) WithToken(token *string) *SendVoiceParams
- func (o *SendVoiceParams) WithVoice(voice runtime.NamedReadCloser) *SendVoiceParams
- func (o *SendVoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVoiceReader
- type SendVoiceUnauthorized
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 (*Client) SendAudioLink ¶
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 (*Client) SendDocumentLink ¶
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 (*Client) SendPhotoLink ¶
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 (*Client) SendStickerLink ¶
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 (*Client) SendVideoLink ¶
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 (*Client) SendVideoNoteLink ¶
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 (*Client) SendVoiceLink ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *GetFileInternalServerError) Error() string
type GetFileNotFound ¶
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
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
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *SendAudioInternalServerError) Error() string
type SendAudioLinkBadRequest ¶
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 ¶
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 ¶
func (o *SendAudioLinkEnhanceYourCalm) Error() string
type SendAudioLinkForbidden ¶
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 ¶
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 ¶
func (o *SendAudioLinkInternalServerError) Error() string
type SendAudioLinkNotFound ¶
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 ¶
func (o *SendAudioLinkParams) WithBody(body *models.SendAudioLinkBody) *SendAudioLinkParams
WithBody adds the body to the send audio link params
func (*SendAudioLinkParams) WithContext ¶
func (o *SendAudioLinkParams) WithContext(ctx context.Context) *SendAudioLinkParams
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 {
}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 ¶
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 ¶
func (o *SendAudioParams) WithAudio(audio runtime.NamedReadCloser) *SendAudioParams
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 {
}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 ¶
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 ¶
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 ¶
func (o *SendContactEnhanceYourCalm) Error() string
type SendContactForbidden ¶
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 ¶
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 ¶
func (o *SendContactInternalServerError) Error() string
type SendContactNotFound ¶
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 ¶
func (o *SendContactParams) WithBody(body *models.SendContactBody) *SendContactParams
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 {
}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 ¶
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 ¶
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 ¶
func (o *SendDocumentEnhanceYourCalm) Error() string
type SendDocumentForbidden ¶
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 ¶
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 ¶
func (o *SendDocumentInternalServerError) Error() string
type SendDocumentLinkBadRequest ¶
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 ¶
func (o *SendDocumentLinkBadRequest) Error() string
type SendDocumentLinkEnhanceYourCalm ¶
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 ¶
func (o *SendDocumentLinkEnhanceYourCalm) Error() string
type SendDocumentLinkForbidden ¶
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 ¶
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 ¶
func (o *SendDocumentLinkInternalServerError) Error() string
type SendDocumentLinkNotFound ¶
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 ¶
func (o *SendDocumentLinkParams) SetBody(body *models.SendDocumentLinkBody)
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 ¶
func (o *SendDocumentLinkParams) WithBody(body *models.SendDocumentLinkBody) *SendDocumentLinkParams
WithBody adds the body to the send document link params
func (*SendDocumentLinkParams) WithContext ¶
func (o *SendDocumentLinkParams) WithContext(ctx context.Context) *SendDocumentLinkParams
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 ¶
func (o *SendDocumentLinkParams) WithTimeout(timeout time.Duration) *SendDocumentLinkParams
WithTimeout adds the timeout to the send document link params
func (*SendDocumentLinkParams) WithToken ¶
func (o *SendDocumentLinkParams) WithToken(token *string) *SendDocumentLinkParams
WithToken adds the token to the send document link params
func (*SendDocumentLinkParams) WriteToRequest ¶
func (o *SendDocumentLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *SendDocumentLinkUnauthorized) Error() string
type SendDocumentNotFound ¶
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 ¶
func (o *SendDocumentParams) WithContext(ctx context.Context) *SendDocumentParams
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 {
}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 ¶
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 ¶
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 ¶
func (o *SendLocationEnhanceYourCalm) Error() string
type SendLocationForbidden ¶
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 ¶
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 ¶
func (o *SendLocationInternalServerError) Error() string
type SendLocationNotFound ¶
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 ¶
func (o *SendLocationParams) WithBody(body *models.SendLocationBody) *SendLocationParams
WithBody adds the body to the send location params
func (*SendLocationParams) WithContext ¶
func (o *SendLocationParams) WithContext(ctx context.Context) *SendLocationParams
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *SendPhotoInternalServerError) Error() string
type SendPhotoLinkBadRequest ¶
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 ¶
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 ¶
func (o *SendPhotoLinkEnhanceYourCalm) Error() string
type SendPhotoLinkForbidden ¶
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 ¶
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 ¶
func (o *SendPhotoLinkInternalServerError) Error() string
type SendPhotoLinkNotFound ¶
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 ¶
func (o *SendPhotoLinkParams) WithBody(body *models.SendPhotoLinkBody) *SendPhotoLinkParams
WithBody adds the body to the send photo link params
func (*SendPhotoLinkParams) WithContext ¶
func (o *SendPhotoLinkParams) WithContext(ctx context.Context) *SendPhotoLinkParams
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 {
}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 ¶
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 ¶
func (o *SendPhotoParams) WithPhoto(photo runtime.NamedReadCloser) *SendPhotoParams
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 {
}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 ¶
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 ¶
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 ¶
func (o *SendStickerEnhanceYourCalm) Error() string
type SendStickerForbidden ¶
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 ¶
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 ¶
func (o *SendStickerInternalServerError) Error() string
type SendStickerLinkBadRequest ¶
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 ¶
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 ¶
func (o *SendStickerLinkEnhanceYourCalm) Error() string
type SendStickerLinkForbidden ¶
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 ¶
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 ¶
func (o *SendStickerLinkInternalServerError) Error() string
type SendStickerLinkNotFound ¶
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 ¶
func (o *SendStickerLinkParams) SetBody(body *models.SendStickerLinkBody)
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 ¶
func (o *SendStickerLinkParams) WithBody(body *models.SendStickerLinkBody) *SendStickerLinkParams
WithBody adds the body to the send sticker link params
func (*SendStickerLinkParams) WithContext ¶
func (o *SendStickerLinkParams) WithContext(ctx context.Context) *SendStickerLinkParams
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 {
}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 ¶
func (o *SendStickerLinkUnauthorized) Error() string
type SendStickerNotFound ¶
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 ¶
func (o *SendStickerParams) WithSticker(sticker runtime.NamedReadCloser) *SendStickerParams
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *SendVenueInternalServerError) Error() string
type SendVenueNotFound ¶
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 ¶
func (o *SendVenueParams) WithBody(body *models.SendVenueBody) *SendVenueParams
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *SendVideoInternalServerError) Error() string
type SendVideoLinkBadRequest ¶
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 ¶
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 ¶
func (o *SendVideoLinkEnhanceYourCalm) Error() string
type SendVideoLinkForbidden ¶
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 ¶
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 ¶
func (o *SendVideoLinkInternalServerError) Error() string
type SendVideoLinkNotFound ¶
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 ¶
func (o *SendVideoLinkParams) WithBody(body *models.SendVideoLinkBody) *SendVideoLinkParams
WithBody adds the body to the send video link params
func (*SendVideoLinkParams) WithContext ¶
func (o *SendVideoLinkParams) WithContext(ctx context.Context) *SendVideoLinkParams
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
func (o *SendVideoNoteEnhanceYourCalm) Error() string
type SendVideoNoteForbidden ¶
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 ¶
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 ¶
func (o *SendVideoNoteInternalServerError) Error() string
type SendVideoNoteLinkBadRequest ¶
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 ¶
func (o *SendVideoNoteLinkBadRequest) Error() string
type SendVideoNoteLinkEnhanceYourCalm ¶
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 ¶
func (o *SendVideoNoteLinkEnhanceYourCalm) Error() string
type SendVideoNoteLinkForbidden ¶
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 ¶
func (o *SendVideoNoteLinkForbidden) Error() string
type SendVideoNoteLinkInternalServerError ¶
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 ¶
func (o *SendVideoNoteLinkInternalServerError) Error() string
type SendVideoNoteLinkNotFound ¶
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 ¶
func (o *SendVideoNoteLinkParams) SetBody(body *models.SendVideoNoteLinkBody)
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 ¶
func (o *SendVideoNoteLinkParams) WithBody(body *models.SendVideoNoteLinkBody) *SendVideoNoteLinkParams
WithBody adds the body to the send video note link params
func (*SendVideoNoteLinkParams) WithContext ¶
func (o *SendVideoNoteLinkParams) WithContext(ctx context.Context) *SendVideoNoteLinkParams
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 ¶
func (o *SendVideoNoteLinkParams) WithTimeout(timeout time.Duration) *SendVideoNoteLinkParams
WithTimeout adds the timeout to the send video note link params
func (*SendVideoNoteLinkParams) WithToken ¶
func (o *SendVideoNoteLinkParams) WithToken(token *string) *SendVideoNoteLinkParams
WithToken adds the token to the send video note link params
func (*SendVideoNoteLinkParams) WriteToRequest ¶
func (o *SendVideoNoteLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *SendVideoNoteLinkUnauthorized) Error() string
type SendVideoNoteNotFound ¶
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 ¶
func (o *SendVideoNoteParams) WithContext(ctx context.Context) *SendVideoNoteParams
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 {
}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 ¶
func (o *SendVideoParams) WithVideo(video runtime.NamedReadCloser) *SendVideoParams
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *SendVoiceInternalServerError) Error() string
type SendVoiceLinkBadRequest ¶
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 ¶
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 ¶
func (o *SendVoiceLinkEnhanceYourCalm) Error() string
type SendVoiceLinkForbidden ¶
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 ¶
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 ¶
func (o *SendVoiceLinkInternalServerError) Error() string
type SendVoiceLinkNotFound ¶
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 ¶
func (o *SendVoiceLinkParams) WithBody(body *models.SendVoiceLinkBody) *SendVoiceLinkParams
WithBody adds the body to the send voice link params
func (*SendVoiceLinkParams) WithContext ¶
func (o *SendVoiceLinkParams) WithContext(ctx context.Context) *SendVoiceLinkParams
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 {
}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 ¶
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 ¶
func (o *SendVoiceParams) WithVoice(voice runtime.NamedReadCloser) *SendVoiceParams
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 {
}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
Source Files ¶
- attachments_client.go
- get_file_parameters.go
- get_file_responses.go
- send_audio_link_parameters.go
- send_audio_link_responses.go
- send_audio_parameters.go
- send_audio_responses.go
- send_contact_parameters.go
- send_contact_responses.go
- send_document_link_parameters.go
- send_document_link_responses.go
- send_document_parameters.go
- send_document_responses.go
- send_location_parameters.go
- send_location_responses.go
- send_photo_link_parameters.go
- send_photo_link_responses.go
- send_photo_parameters.go
- send_photo_responses.go
- send_sticker_link_parameters.go
- send_sticker_link_responses.go
- send_sticker_parameters.go
- send_sticker_responses.go
- send_venue_parameters.go
- send_venue_responses.go
- send_video_link_parameters.go
- send_video_link_responses.go
- send_video_note_link_parameters.go
- send_video_note_link_responses.go
- send_video_note_parameters.go
- send_video_note_responses.go
- send_video_parameters.go
- send_video_responses.go
- send_voice_link_parameters.go
- send_voice_link_responses.go
- send_voice_parameters.go
- send_voice_responses.go