stickers

package
v3.3.0+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddStickerToSetBadRequest

type AddStickerToSetBadRequest struct {
	Payload *models.Error
}

AddStickerToSetBadRequest handles this case with default header values.

Bad Request

func NewAddStickerToSetBadRequest

func NewAddStickerToSetBadRequest() *AddStickerToSetBadRequest

NewAddStickerToSetBadRequest creates a AddStickerToSetBadRequest with default headers values

func (*AddStickerToSetBadRequest) Error

func (o *AddStickerToSetBadRequest) Error() string

type AddStickerToSetEnhanceYourCalm

type AddStickerToSetEnhanceYourCalm struct {
	Payload *models.Error
}

AddStickerToSetEnhanceYourCalm handles this case with default header values.

Flood

func NewAddStickerToSetEnhanceYourCalm

func NewAddStickerToSetEnhanceYourCalm() *AddStickerToSetEnhanceYourCalm

NewAddStickerToSetEnhanceYourCalm creates a AddStickerToSetEnhanceYourCalm with default headers values

func (*AddStickerToSetEnhanceYourCalm) Error

type AddStickerToSetForbidden

type AddStickerToSetForbidden struct {
	Payload *models.Error
}

AddStickerToSetForbidden handles this case with default header values.

Forbidden

func NewAddStickerToSetForbidden

func NewAddStickerToSetForbidden() *AddStickerToSetForbidden

NewAddStickerToSetForbidden creates a AddStickerToSetForbidden with default headers values

func (*AddStickerToSetForbidden) Error

func (o *AddStickerToSetForbidden) Error() string

type AddStickerToSetInternalServerError

type AddStickerToSetInternalServerError struct {
	Payload *models.Error
}

AddStickerToSetInternalServerError handles this case with default header values.

Internal

func NewAddStickerToSetInternalServerError

func NewAddStickerToSetInternalServerError() *AddStickerToSetInternalServerError

NewAddStickerToSetInternalServerError creates a AddStickerToSetInternalServerError with default headers values

func (*AddStickerToSetInternalServerError) Error

type AddStickerToSetLinkBadRequest

type AddStickerToSetLinkBadRequest struct {
	Payload *models.Error
}

AddStickerToSetLinkBadRequest handles this case with default header values.

Bad Request

func NewAddStickerToSetLinkBadRequest

func NewAddStickerToSetLinkBadRequest() *AddStickerToSetLinkBadRequest

NewAddStickerToSetLinkBadRequest creates a AddStickerToSetLinkBadRequest with default headers values

func (*AddStickerToSetLinkBadRequest) Error

type AddStickerToSetLinkEnhanceYourCalm

type AddStickerToSetLinkEnhanceYourCalm struct {
	Payload *models.Error
}

AddStickerToSetLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewAddStickerToSetLinkEnhanceYourCalm

func NewAddStickerToSetLinkEnhanceYourCalm() *AddStickerToSetLinkEnhanceYourCalm

NewAddStickerToSetLinkEnhanceYourCalm creates a AddStickerToSetLinkEnhanceYourCalm with default headers values

func (*AddStickerToSetLinkEnhanceYourCalm) Error

type AddStickerToSetLinkForbidden

type AddStickerToSetLinkForbidden struct {
	Payload *models.Error
}

AddStickerToSetLinkForbidden handles this case with default header values.

Forbidden

func NewAddStickerToSetLinkForbidden

func NewAddStickerToSetLinkForbidden() *AddStickerToSetLinkForbidden

NewAddStickerToSetLinkForbidden creates a AddStickerToSetLinkForbidden with default headers values

func (*AddStickerToSetLinkForbidden) Error

type AddStickerToSetLinkInternalServerError

type AddStickerToSetLinkInternalServerError struct {
	Payload *models.Error
}

AddStickerToSetLinkInternalServerError handles this case with default header values.

Internal

func NewAddStickerToSetLinkInternalServerError

func NewAddStickerToSetLinkInternalServerError() *AddStickerToSetLinkInternalServerError

NewAddStickerToSetLinkInternalServerError creates a AddStickerToSetLinkInternalServerError with default headers values

func (*AddStickerToSetLinkInternalServerError) Error

type AddStickerToSetLinkNotFound

type AddStickerToSetLinkNotFound struct {
	Payload *models.Error
}

AddStickerToSetLinkNotFound handles this case with default header values.

Not Found

func NewAddStickerToSetLinkNotFound

func NewAddStickerToSetLinkNotFound() *AddStickerToSetLinkNotFound

NewAddStickerToSetLinkNotFound creates a AddStickerToSetLinkNotFound with default headers values

func (*AddStickerToSetLinkNotFound) Error

type AddStickerToSetLinkOK

type AddStickerToSetLinkOK struct {
	Payload *models.ResponseBool
}

AddStickerToSetLinkOK handles this case with default header values.

AddStickerToSetLinkOK add sticker to set link o k

func NewAddStickerToSetLinkOK

func NewAddStickerToSetLinkOK() *AddStickerToSetLinkOK

NewAddStickerToSetLinkOK creates a AddStickerToSetLinkOK with default headers values

func (*AddStickerToSetLinkOK) Error

func (o *AddStickerToSetLinkOK) Error() string

type AddStickerToSetLinkParams

type AddStickerToSetLinkParams struct {

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

	*/
	Token *string

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

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

func NewAddStickerToSetLinkParams

func NewAddStickerToSetLinkParams() *AddStickerToSetLinkParams

NewAddStickerToSetLinkParams creates a new AddStickerToSetLinkParams object with the default values initialized.

func NewAddStickerToSetLinkParamsWithContext

func NewAddStickerToSetLinkParamsWithContext(ctx context.Context) *AddStickerToSetLinkParams

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

func NewAddStickerToSetLinkParamsWithHTTPClient

func NewAddStickerToSetLinkParamsWithHTTPClient(client *http.Client) *AddStickerToSetLinkParams

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

func NewAddStickerToSetLinkParamsWithTimeout

func NewAddStickerToSetLinkParamsWithTimeout(timeout time.Duration) *AddStickerToSetLinkParams

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

func (*AddStickerToSetLinkParams) SetBody

SetBody adds the body to the add sticker to set link params

func (*AddStickerToSetLinkParams) SetContext

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

SetContext adds the context to the add sticker to set link params

func (*AddStickerToSetLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add sticker to set link params

func (*AddStickerToSetLinkParams) SetTimeout

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

SetTimeout adds the timeout to the add sticker to set link params

func (*AddStickerToSetLinkParams) SetToken

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

SetToken adds the token to the add sticker to set link params

func (*AddStickerToSetLinkParams) WithBody

WithBody adds the body to the add sticker to set link params

func (*AddStickerToSetLinkParams) WithContext

WithContext adds the context to the add sticker to set link params

func (*AddStickerToSetLinkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add sticker to set link params

func (*AddStickerToSetLinkParams) WithTimeout

WithTimeout adds the timeout to the add sticker to set link params

func (*AddStickerToSetLinkParams) WithToken

WithToken adds the token to the add sticker to set link params

func (*AddStickerToSetLinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddStickerToSetLinkReader

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

AddStickerToSetLinkReader is a Reader for the AddStickerToSetLink structure.

func (*AddStickerToSetLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddStickerToSetLinkUnauthorized

type AddStickerToSetLinkUnauthorized struct {
	Payload *models.Error
}

AddStickerToSetLinkUnauthorized handles this case with default header values.

Unauthorized

func NewAddStickerToSetLinkUnauthorized

func NewAddStickerToSetLinkUnauthorized() *AddStickerToSetLinkUnauthorized

NewAddStickerToSetLinkUnauthorized creates a AddStickerToSetLinkUnauthorized with default headers values

func (*AddStickerToSetLinkUnauthorized) Error

type AddStickerToSetNotFound

type AddStickerToSetNotFound struct {
	Payload *models.Error
}

AddStickerToSetNotFound handles this case with default header values.

Not Found

func NewAddStickerToSetNotFound

func NewAddStickerToSetNotFound() *AddStickerToSetNotFound

NewAddStickerToSetNotFound creates a AddStickerToSetNotFound with default headers values

func (*AddStickerToSetNotFound) Error

func (o *AddStickerToSetNotFound) Error() string

type AddStickerToSetOK

type AddStickerToSetOK struct {
	Payload *models.ResponseBool
}

AddStickerToSetOK handles this case with default header values.

AddStickerToSetOK add sticker to set o k

func NewAddStickerToSetOK

func NewAddStickerToSetOK() *AddStickerToSetOK

NewAddStickerToSetOK creates a AddStickerToSetOK with default headers values

func (*AddStickerToSetOK) Error

func (o *AddStickerToSetOK) Error() string

type AddStickerToSetParams

type AddStickerToSetParams struct {

	/*Emojis*/
	Emojis string
	/*MaskPosition
	  Serialized to JSON MaskPosition

	*/
	MaskPosition *string
	/*Name*/
	Name string
	/*PngSticker*/
	PngSticker runtime.NamedReadCloser
	/*Token
	  bot's token to authorize the request

	*/
	Token *string
	/*UserID*/
	UserID int64

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

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

func NewAddStickerToSetParams

func NewAddStickerToSetParams() *AddStickerToSetParams

NewAddStickerToSetParams creates a new AddStickerToSetParams object with the default values initialized.

func NewAddStickerToSetParamsWithContext

func NewAddStickerToSetParamsWithContext(ctx context.Context) *AddStickerToSetParams

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

func NewAddStickerToSetParamsWithHTTPClient

func NewAddStickerToSetParamsWithHTTPClient(client *http.Client) *AddStickerToSetParams

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

func NewAddStickerToSetParamsWithTimeout

func NewAddStickerToSetParamsWithTimeout(timeout time.Duration) *AddStickerToSetParams

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

func (*AddStickerToSetParams) SetContext

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

SetContext adds the context to the add sticker to set params

func (*AddStickerToSetParams) SetEmojis

func (o *AddStickerToSetParams) SetEmojis(emojis string)

SetEmojis adds the emojis to the add sticker to set params

func (*AddStickerToSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add sticker to set params

func (*AddStickerToSetParams) SetMaskPosition

func (o *AddStickerToSetParams) SetMaskPosition(maskPosition *string)

SetMaskPosition adds the maskPosition to the add sticker to set params

func (*AddStickerToSetParams) SetName

func (o *AddStickerToSetParams) SetName(name string)

SetName adds the name to the add sticker to set params

func (*AddStickerToSetParams) SetPngSticker

func (o *AddStickerToSetParams) SetPngSticker(pngSticker runtime.NamedReadCloser)

SetPngSticker adds the pngSticker to the add sticker to set params

func (*AddStickerToSetParams) SetTimeout

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

SetTimeout adds the timeout to the add sticker to set params

func (*AddStickerToSetParams) SetToken

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

SetToken adds the token to the add sticker to set params

func (*AddStickerToSetParams) SetUserID

func (o *AddStickerToSetParams) SetUserID(userID int64)

SetUserID adds the userId to the add sticker to set params

func (*AddStickerToSetParams) WithContext

WithContext adds the context to the add sticker to set params

func (*AddStickerToSetParams) WithEmojis

func (o *AddStickerToSetParams) WithEmojis(emojis string) *AddStickerToSetParams

WithEmojis adds the emojis to the add sticker to set params

func (*AddStickerToSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add sticker to set params

func (*AddStickerToSetParams) WithMaskPosition

func (o *AddStickerToSetParams) WithMaskPosition(maskPosition *string) *AddStickerToSetParams

WithMaskPosition adds the maskPosition to the add sticker to set params

func (*AddStickerToSetParams) WithName

WithName adds the name to the add sticker to set params

func (*AddStickerToSetParams) WithPngSticker

func (o *AddStickerToSetParams) WithPngSticker(pngSticker runtime.NamedReadCloser) *AddStickerToSetParams

WithPngSticker adds the pngSticker to the add sticker to set params

func (*AddStickerToSetParams) WithTimeout

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

WithTimeout adds the timeout to the add sticker to set params

func (*AddStickerToSetParams) WithToken

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

WithToken adds the token to the add sticker to set params

func (*AddStickerToSetParams) WithUserID

func (o *AddStickerToSetParams) WithUserID(userID int64) *AddStickerToSetParams

WithUserID adds the userID to the add sticker to set params

func (*AddStickerToSetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddStickerToSetReader

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

AddStickerToSetReader is a Reader for the AddStickerToSet structure.

func (*AddStickerToSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddStickerToSetUnauthorized

type AddStickerToSetUnauthorized struct {
	Payload *models.Error
}

AddStickerToSetUnauthorized handles this case with default header values.

Unauthorized

func NewAddStickerToSetUnauthorized

func NewAddStickerToSetUnauthorized() *AddStickerToSetUnauthorized

NewAddStickerToSetUnauthorized creates a AddStickerToSetUnauthorized with default headers values

func (*AddStickerToSetUnauthorized) Error

type Client

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

Client for stickers API

func New

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

New creates a new stickers API client.

func (*Client) AddStickerToSet

func (a *Client) AddStickerToSet(params *AddStickerToSetParams) (*AddStickerToSetOK, error)

AddStickerToSet add sticker to set API

func (a *Client) AddStickerToSetLink(params *AddStickerToSetLinkParams) (*AddStickerToSetLinkOK, error)

AddStickerToSetLink add sticker to set link API

func (*Client) CreateNewStickerSet

func (a *Client) CreateNewStickerSet(params *CreateNewStickerSetParams) (*CreateNewStickerSetOK, error)

CreateNewStickerSet create new sticker set API

func (a *Client) CreateNewStickerSetLink(params *CreateNewStickerSetLinkParams) (*CreateNewStickerSetLinkOK, error)

CreateNewStickerSetLink create new sticker set link API

func (*Client) DeleteStickerFromSet

func (a *Client) DeleteStickerFromSet(params *DeleteStickerFromSetParams) (*DeleteStickerFromSetOK, error)

DeleteStickerFromSet delete sticker from set API

func (*Client) GetStickerSet

func (a *Client) GetStickerSet(params *GetStickerSetParams) (*GetStickerSetOK, error)

GetStickerSet get sticker set API

func (*Client) SetStickerPositionInSet

func (a *Client) SetStickerPositionInSet(params *SetStickerPositionInSetParams) (*SetStickerPositionInSetOK, error)

SetStickerPositionInSet set sticker position in set API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadStickerFile

func (a *Client) UploadStickerFile(params *UploadStickerFileParams) (*UploadStickerFileOK, error)

UploadStickerFile upload sticker file API

func (a *Client) UploadStickerFileLink(params *UploadStickerFileLinkParams) (*UploadStickerFileLinkOK, error)

UploadStickerFileLink upload sticker file link API

type CreateNewStickerSetBadRequest

type CreateNewStickerSetBadRequest struct {
	Payload *models.Error
}

CreateNewStickerSetBadRequest handles this case with default header values.

Bad Request

func NewCreateNewStickerSetBadRequest

func NewCreateNewStickerSetBadRequest() *CreateNewStickerSetBadRequest

NewCreateNewStickerSetBadRequest creates a CreateNewStickerSetBadRequest with default headers values

func (*CreateNewStickerSetBadRequest) Error

type CreateNewStickerSetEnhanceYourCalm

type CreateNewStickerSetEnhanceYourCalm struct {
	Payload *models.Error
}

CreateNewStickerSetEnhanceYourCalm handles this case with default header values.

Flood

func NewCreateNewStickerSetEnhanceYourCalm

func NewCreateNewStickerSetEnhanceYourCalm() *CreateNewStickerSetEnhanceYourCalm

NewCreateNewStickerSetEnhanceYourCalm creates a CreateNewStickerSetEnhanceYourCalm with default headers values

func (*CreateNewStickerSetEnhanceYourCalm) Error

type CreateNewStickerSetForbidden

type CreateNewStickerSetForbidden struct {
	Payload *models.Error
}

CreateNewStickerSetForbidden handles this case with default header values.

Forbidden

func NewCreateNewStickerSetForbidden

func NewCreateNewStickerSetForbidden() *CreateNewStickerSetForbidden

NewCreateNewStickerSetForbidden creates a CreateNewStickerSetForbidden with default headers values

func (*CreateNewStickerSetForbidden) Error

type CreateNewStickerSetInternalServerError

type CreateNewStickerSetInternalServerError struct {
	Payload *models.Error
}

CreateNewStickerSetInternalServerError handles this case with default header values.

Internal

func NewCreateNewStickerSetInternalServerError

func NewCreateNewStickerSetInternalServerError() *CreateNewStickerSetInternalServerError

NewCreateNewStickerSetInternalServerError creates a CreateNewStickerSetInternalServerError with default headers values

func (*CreateNewStickerSetInternalServerError) Error

type CreateNewStickerSetLinkBadRequest

type CreateNewStickerSetLinkBadRequest struct {
	Payload *models.Error
}

CreateNewStickerSetLinkBadRequest handles this case with default header values.

Bad Request

func NewCreateNewStickerSetLinkBadRequest

func NewCreateNewStickerSetLinkBadRequest() *CreateNewStickerSetLinkBadRequest

NewCreateNewStickerSetLinkBadRequest creates a CreateNewStickerSetLinkBadRequest with default headers values

func (*CreateNewStickerSetLinkBadRequest) Error

type CreateNewStickerSetLinkEnhanceYourCalm

type CreateNewStickerSetLinkEnhanceYourCalm struct {
	Payload *models.Error
}

CreateNewStickerSetLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewCreateNewStickerSetLinkEnhanceYourCalm

func NewCreateNewStickerSetLinkEnhanceYourCalm() *CreateNewStickerSetLinkEnhanceYourCalm

NewCreateNewStickerSetLinkEnhanceYourCalm creates a CreateNewStickerSetLinkEnhanceYourCalm with default headers values

func (*CreateNewStickerSetLinkEnhanceYourCalm) Error

type CreateNewStickerSetLinkForbidden

type CreateNewStickerSetLinkForbidden struct {
	Payload *models.Error
}

CreateNewStickerSetLinkForbidden handles this case with default header values.

Forbidden

func NewCreateNewStickerSetLinkForbidden

func NewCreateNewStickerSetLinkForbidden() *CreateNewStickerSetLinkForbidden

NewCreateNewStickerSetLinkForbidden creates a CreateNewStickerSetLinkForbidden with default headers values

func (*CreateNewStickerSetLinkForbidden) Error

type CreateNewStickerSetLinkInternalServerError

type CreateNewStickerSetLinkInternalServerError struct {
	Payload *models.Error
}

CreateNewStickerSetLinkInternalServerError handles this case with default header values.

Internal

func NewCreateNewStickerSetLinkInternalServerError

func NewCreateNewStickerSetLinkInternalServerError() *CreateNewStickerSetLinkInternalServerError

NewCreateNewStickerSetLinkInternalServerError creates a CreateNewStickerSetLinkInternalServerError with default headers values

func (*CreateNewStickerSetLinkInternalServerError) Error

type CreateNewStickerSetLinkNotFound

type CreateNewStickerSetLinkNotFound struct {
	Payload *models.Error
}

CreateNewStickerSetLinkNotFound handles this case with default header values.

Not Found

func NewCreateNewStickerSetLinkNotFound

func NewCreateNewStickerSetLinkNotFound() *CreateNewStickerSetLinkNotFound

NewCreateNewStickerSetLinkNotFound creates a CreateNewStickerSetLinkNotFound with default headers values

func (*CreateNewStickerSetLinkNotFound) Error

type CreateNewStickerSetLinkOK

type CreateNewStickerSetLinkOK struct {
	Payload *models.File
}

CreateNewStickerSetLinkOK handles this case with default header values.

CreateNewStickerSetLinkOK create new sticker set link o k

func NewCreateNewStickerSetLinkOK

func NewCreateNewStickerSetLinkOK() *CreateNewStickerSetLinkOK

NewCreateNewStickerSetLinkOK creates a CreateNewStickerSetLinkOK with default headers values

func (*CreateNewStickerSetLinkOK) Error

func (o *CreateNewStickerSetLinkOK) Error() string

type CreateNewStickerSetLinkParams

type CreateNewStickerSetLinkParams struct {

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

	*/
	Token *string

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

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

func NewCreateNewStickerSetLinkParams

func NewCreateNewStickerSetLinkParams() *CreateNewStickerSetLinkParams

NewCreateNewStickerSetLinkParams creates a new CreateNewStickerSetLinkParams object with the default values initialized.

func NewCreateNewStickerSetLinkParamsWithContext

func NewCreateNewStickerSetLinkParamsWithContext(ctx context.Context) *CreateNewStickerSetLinkParams

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

func NewCreateNewStickerSetLinkParamsWithHTTPClient

func NewCreateNewStickerSetLinkParamsWithHTTPClient(client *http.Client) *CreateNewStickerSetLinkParams

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

func NewCreateNewStickerSetLinkParamsWithTimeout

func NewCreateNewStickerSetLinkParamsWithTimeout(timeout time.Duration) *CreateNewStickerSetLinkParams

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

func (*CreateNewStickerSetLinkParams) SetBody

SetBody adds the body to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) SetContext

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

SetContext adds the context to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) SetTimeout

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

SetTimeout adds the timeout to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) SetToken

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

SetToken adds the token to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) WithBody

WithBody adds the body to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) WithContext

WithContext adds the context to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) WithTimeout

WithTimeout adds the timeout to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) WithToken

WithToken adds the token to the create new sticker set link params

func (*CreateNewStickerSetLinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNewStickerSetLinkReader

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

CreateNewStickerSetLinkReader is a Reader for the CreateNewStickerSetLink structure.

func (*CreateNewStickerSetLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNewStickerSetLinkUnauthorized

type CreateNewStickerSetLinkUnauthorized struct {
	Payload *models.Error
}

CreateNewStickerSetLinkUnauthorized handles this case with default header values.

Unauthorized

func NewCreateNewStickerSetLinkUnauthorized

func NewCreateNewStickerSetLinkUnauthorized() *CreateNewStickerSetLinkUnauthorized

NewCreateNewStickerSetLinkUnauthorized creates a CreateNewStickerSetLinkUnauthorized with default headers values

func (*CreateNewStickerSetLinkUnauthorized) Error

type CreateNewStickerSetNotFound

type CreateNewStickerSetNotFound struct {
	Payload *models.Error
}

CreateNewStickerSetNotFound handles this case with default header values.

Not Found

func NewCreateNewStickerSetNotFound

func NewCreateNewStickerSetNotFound() *CreateNewStickerSetNotFound

NewCreateNewStickerSetNotFound creates a CreateNewStickerSetNotFound with default headers values

func (*CreateNewStickerSetNotFound) Error

type CreateNewStickerSetOK

type CreateNewStickerSetOK struct {
	Payload *models.File
}

CreateNewStickerSetOK handles this case with default header values.

CreateNewStickerSetOK create new sticker set o k

func NewCreateNewStickerSetOK

func NewCreateNewStickerSetOK() *CreateNewStickerSetOK

NewCreateNewStickerSetOK creates a CreateNewStickerSetOK with default headers values

func (*CreateNewStickerSetOK) Error

func (o *CreateNewStickerSetOK) Error() string

type CreateNewStickerSetParams

type CreateNewStickerSetParams struct {

	/*Emojis*/
	Emojis string
	/*IsMasks*/
	IsMasks *bool
	/*MaskPosition
	  Serialized to JSON MaskPosition

	*/
	MaskPosition *string
	/*Name*/
	Name string
	/*PngSticker*/
	PngSticker runtime.NamedReadCloser
	/*Title*/
	Title string
	/*Token
	  bot's token to authorize the request

	*/
	Token *string
	/*UserID*/
	UserID int64

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

CreateNewStickerSetParams contains all the parameters to send to the API endpoint for the create new sticker set operation typically these are written to a http.Request

func NewCreateNewStickerSetParams

func NewCreateNewStickerSetParams() *CreateNewStickerSetParams

NewCreateNewStickerSetParams creates a new CreateNewStickerSetParams object with the default values initialized.

func NewCreateNewStickerSetParamsWithContext

func NewCreateNewStickerSetParamsWithContext(ctx context.Context) *CreateNewStickerSetParams

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

func NewCreateNewStickerSetParamsWithHTTPClient

func NewCreateNewStickerSetParamsWithHTTPClient(client *http.Client) *CreateNewStickerSetParams

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

func NewCreateNewStickerSetParamsWithTimeout

func NewCreateNewStickerSetParamsWithTimeout(timeout time.Duration) *CreateNewStickerSetParams

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

func (*CreateNewStickerSetParams) SetContext

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

SetContext adds the context to the create new sticker set params

func (*CreateNewStickerSetParams) SetEmojis

func (o *CreateNewStickerSetParams) SetEmojis(emojis string)

SetEmojis adds the emojis to the create new sticker set params

func (*CreateNewStickerSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create new sticker set params

func (*CreateNewStickerSetParams) SetIsMasks

func (o *CreateNewStickerSetParams) SetIsMasks(isMasks *bool)

SetIsMasks adds the isMasks to the create new sticker set params

func (*CreateNewStickerSetParams) SetMaskPosition

func (o *CreateNewStickerSetParams) SetMaskPosition(maskPosition *string)

SetMaskPosition adds the maskPosition to the create new sticker set params

func (*CreateNewStickerSetParams) SetName

func (o *CreateNewStickerSetParams) SetName(name string)

SetName adds the name to the create new sticker set params

func (*CreateNewStickerSetParams) SetPngSticker

func (o *CreateNewStickerSetParams) SetPngSticker(pngSticker runtime.NamedReadCloser)

SetPngSticker adds the pngSticker to the create new sticker set params

func (*CreateNewStickerSetParams) SetTimeout

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

SetTimeout adds the timeout to the create new sticker set params

func (*CreateNewStickerSetParams) SetTitle

func (o *CreateNewStickerSetParams) SetTitle(title string)

SetTitle adds the title to the create new sticker set params

func (*CreateNewStickerSetParams) SetToken

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

SetToken adds the token to the create new sticker set params

func (*CreateNewStickerSetParams) SetUserID

func (o *CreateNewStickerSetParams) SetUserID(userID int64)

SetUserID adds the userId to the create new sticker set params

func (*CreateNewStickerSetParams) WithContext

WithContext adds the context to the create new sticker set params

func (*CreateNewStickerSetParams) WithEmojis

WithEmojis adds the emojis to the create new sticker set params

func (*CreateNewStickerSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create new sticker set params

func (*CreateNewStickerSetParams) WithIsMasks

func (o *CreateNewStickerSetParams) WithIsMasks(isMasks *bool) *CreateNewStickerSetParams

WithIsMasks adds the isMasks to the create new sticker set params

func (*CreateNewStickerSetParams) WithMaskPosition

func (o *CreateNewStickerSetParams) WithMaskPosition(maskPosition *string) *CreateNewStickerSetParams

WithMaskPosition adds the maskPosition to the create new sticker set params

func (*CreateNewStickerSetParams) WithName

WithName adds the name to the create new sticker set params

func (*CreateNewStickerSetParams) WithPngSticker

WithPngSticker adds the pngSticker to the create new sticker set params

func (*CreateNewStickerSetParams) WithTimeout

WithTimeout adds the timeout to the create new sticker set params

func (*CreateNewStickerSetParams) WithTitle

WithTitle adds the title to the create new sticker set params

func (*CreateNewStickerSetParams) WithToken

WithToken adds the token to the create new sticker set params

func (*CreateNewStickerSetParams) WithUserID

WithUserID adds the userID to the create new sticker set params

func (*CreateNewStickerSetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNewStickerSetReader

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

CreateNewStickerSetReader is a Reader for the CreateNewStickerSet structure.

func (*CreateNewStickerSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNewStickerSetUnauthorized

type CreateNewStickerSetUnauthorized struct {
	Payload *models.Error
}

CreateNewStickerSetUnauthorized handles this case with default header values.

Unauthorized

func NewCreateNewStickerSetUnauthorized

func NewCreateNewStickerSetUnauthorized() *CreateNewStickerSetUnauthorized

NewCreateNewStickerSetUnauthorized creates a CreateNewStickerSetUnauthorized with default headers values

func (*CreateNewStickerSetUnauthorized) Error

type DeleteStickerFromSetBadRequest

type DeleteStickerFromSetBadRequest struct {
	Payload *models.Error
}

DeleteStickerFromSetBadRequest handles this case with default header values.

Bad Request

func NewDeleteStickerFromSetBadRequest

func NewDeleteStickerFromSetBadRequest() *DeleteStickerFromSetBadRequest

NewDeleteStickerFromSetBadRequest creates a DeleteStickerFromSetBadRequest with default headers values

func (*DeleteStickerFromSetBadRequest) Error

type DeleteStickerFromSetEnhanceYourCalm

type DeleteStickerFromSetEnhanceYourCalm struct {
	Payload *models.Error
}

DeleteStickerFromSetEnhanceYourCalm handles this case with default header values.

Flood

func NewDeleteStickerFromSetEnhanceYourCalm

func NewDeleteStickerFromSetEnhanceYourCalm() *DeleteStickerFromSetEnhanceYourCalm

NewDeleteStickerFromSetEnhanceYourCalm creates a DeleteStickerFromSetEnhanceYourCalm with default headers values

func (*DeleteStickerFromSetEnhanceYourCalm) Error

type DeleteStickerFromSetForbidden

type DeleteStickerFromSetForbidden struct {
	Payload *models.Error
}

DeleteStickerFromSetForbidden handles this case with default header values.

Forbidden

func NewDeleteStickerFromSetForbidden

func NewDeleteStickerFromSetForbidden() *DeleteStickerFromSetForbidden

NewDeleteStickerFromSetForbidden creates a DeleteStickerFromSetForbidden with default headers values

func (*DeleteStickerFromSetForbidden) Error

type DeleteStickerFromSetInternalServerError

type DeleteStickerFromSetInternalServerError struct {
	Payload *models.Error
}

DeleteStickerFromSetInternalServerError handles this case with default header values.

Internal

func NewDeleteStickerFromSetInternalServerError

func NewDeleteStickerFromSetInternalServerError() *DeleteStickerFromSetInternalServerError

NewDeleteStickerFromSetInternalServerError creates a DeleteStickerFromSetInternalServerError with default headers values

func (*DeleteStickerFromSetInternalServerError) Error

type DeleteStickerFromSetNotFound

type DeleteStickerFromSetNotFound struct {
	Payload *models.Error
}

DeleteStickerFromSetNotFound handles this case with default header values.

Not Found

func NewDeleteStickerFromSetNotFound

func NewDeleteStickerFromSetNotFound() *DeleteStickerFromSetNotFound

NewDeleteStickerFromSetNotFound creates a DeleteStickerFromSetNotFound with default headers values

func (*DeleteStickerFromSetNotFound) Error

type DeleteStickerFromSetOK

type DeleteStickerFromSetOK struct {
	Payload *models.ResponseBool
}

DeleteStickerFromSetOK handles this case with default header values.

DeleteStickerFromSetOK delete sticker from set o k

func NewDeleteStickerFromSetOK

func NewDeleteStickerFromSetOK() *DeleteStickerFromSetOK

NewDeleteStickerFromSetOK creates a DeleteStickerFromSetOK with default headers values

func (*DeleteStickerFromSetOK) Error

func (o *DeleteStickerFromSetOK) Error() string

type DeleteStickerFromSetParams

type DeleteStickerFromSetParams struct {

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

	*/
	Token *string

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

DeleteStickerFromSetParams contains all the parameters to send to the API endpoint for the delete sticker from set operation typically these are written to a http.Request

func NewDeleteStickerFromSetParams

func NewDeleteStickerFromSetParams() *DeleteStickerFromSetParams

NewDeleteStickerFromSetParams creates a new DeleteStickerFromSetParams object with the default values initialized.

func NewDeleteStickerFromSetParamsWithContext

func NewDeleteStickerFromSetParamsWithContext(ctx context.Context) *DeleteStickerFromSetParams

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

func NewDeleteStickerFromSetParamsWithHTTPClient

func NewDeleteStickerFromSetParamsWithHTTPClient(client *http.Client) *DeleteStickerFromSetParams

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

func NewDeleteStickerFromSetParamsWithTimeout

func NewDeleteStickerFromSetParamsWithTimeout(timeout time.Duration) *DeleteStickerFromSetParams

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

func (*DeleteStickerFromSetParams) SetContext

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

SetContext adds the context to the delete sticker from set params

func (*DeleteStickerFromSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete sticker from set params

func (*DeleteStickerFromSetParams) SetSticker

func (o *DeleteStickerFromSetParams) SetSticker(sticker string)

SetSticker adds the sticker to the delete sticker from set params

func (*DeleteStickerFromSetParams) SetTimeout

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

SetTimeout adds the timeout to the delete sticker from set params

func (*DeleteStickerFromSetParams) SetToken

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

SetToken adds the token to the delete sticker from set params

func (*DeleteStickerFromSetParams) WithContext

WithContext adds the context to the delete sticker from set params

func (*DeleteStickerFromSetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete sticker from set params

func (*DeleteStickerFromSetParams) WithSticker

WithSticker adds the sticker to the delete sticker from set params

func (*DeleteStickerFromSetParams) WithTimeout

WithTimeout adds the timeout to the delete sticker from set params

func (*DeleteStickerFromSetParams) WithToken

WithToken adds the token to the delete sticker from set params

func (*DeleteStickerFromSetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteStickerFromSetReader

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

DeleteStickerFromSetReader is a Reader for the DeleteStickerFromSet structure.

func (*DeleteStickerFromSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteStickerFromSetUnauthorized

type DeleteStickerFromSetUnauthorized struct {
	Payload *models.Error
}

DeleteStickerFromSetUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteStickerFromSetUnauthorized

func NewDeleteStickerFromSetUnauthorized() *DeleteStickerFromSetUnauthorized

NewDeleteStickerFromSetUnauthorized creates a DeleteStickerFromSetUnauthorized with default headers values

func (*DeleteStickerFromSetUnauthorized) Error

type GetStickerSetBadRequest

type GetStickerSetBadRequest struct {
	Payload *models.Error
}

GetStickerSetBadRequest handles this case with default header values.

Bad Request

func NewGetStickerSetBadRequest

func NewGetStickerSetBadRequest() *GetStickerSetBadRequest

NewGetStickerSetBadRequest creates a GetStickerSetBadRequest with default headers values

func (*GetStickerSetBadRequest) Error

func (o *GetStickerSetBadRequest) Error() string

type GetStickerSetEnhanceYourCalm

type GetStickerSetEnhanceYourCalm struct {
	Payload *models.Error
}

GetStickerSetEnhanceYourCalm handles this case with default header values.

Flood

func NewGetStickerSetEnhanceYourCalm

func NewGetStickerSetEnhanceYourCalm() *GetStickerSetEnhanceYourCalm

NewGetStickerSetEnhanceYourCalm creates a GetStickerSetEnhanceYourCalm with default headers values

func (*GetStickerSetEnhanceYourCalm) Error

type GetStickerSetForbidden

type GetStickerSetForbidden struct {
	Payload *models.Error
}

GetStickerSetForbidden handles this case with default header values.

Forbidden

func NewGetStickerSetForbidden

func NewGetStickerSetForbidden() *GetStickerSetForbidden

NewGetStickerSetForbidden creates a GetStickerSetForbidden with default headers values

func (*GetStickerSetForbidden) Error

func (o *GetStickerSetForbidden) Error() string

type GetStickerSetInternalServerError

type GetStickerSetInternalServerError struct {
	Payload *models.Error
}

GetStickerSetInternalServerError handles this case with default header values.

Internal

func NewGetStickerSetInternalServerError

func NewGetStickerSetInternalServerError() *GetStickerSetInternalServerError

NewGetStickerSetInternalServerError creates a GetStickerSetInternalServerError with default headers values

func (*GetStickerSetInternalServerError) Error

type GetStickerSetNotFound

type GetStickerSetNotFound struct {
	Payload *models.Error
}

GetStickerSetNotFound handles this case with default header values.

Not Found

func NewGetStickerSetNotFound

func NewGetStickerSetNotFound() *GetStickerSetNotFound

NewGetStickerSetNotFound creates a GetStickerSetNotFound with default headers values

func (*GetStickerSetNotFound) Error

func (o *GetStickerSetNotFound) Error() string

type GetStickerSetOK

type GetStickerSetOK struct {
	Payload GetStickerSetOKBody
}

GetStickerSetOK handles this case with default header values.

GetStickerSetOK get sticker set o k

func NewGetStickerSetOK

func NewGetStickerSetOK() *GetStickerSetOK

NewGetStickerSetOK creates a GetStickerSetOK with default headers values

func (*GetStickerSetOK) Error

func (o *GetStickerSetOK) Error() string

type GetStickerSetOKBody

type GetStickerSetOKBody 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.StickerSet `json:"result"`
}

GetStickerSetOKBody get sticker set o k body swagger:model GetStickerSetOKBody

func (*GetStickerSetOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetStickerSetOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetStickerSetOKBody) Validate

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

Validate validates this get sticker set o k body

type GetStickerSetParams

type GetStickerSetParams struct {

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

	*/
	Token *string

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

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

func NewGetStickerSetParams

func NewGetStickerSetParams() *GetStickerSetParams

NewGetStickerSetParams creates a new GetStickerSetParams object with the default values initialized.

func NewGetStickerSetParamsWithContext

func NewGetStickerSetParamsWithContext(ctx context.Context) *GetStickerSetParams

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

func NewGetStickerSetParamsWithHTTPClient

func NewGetStickerSetParamsWithHTTPClient(client *http.Client) *GetStickerSetParams

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

func NewGetStickerSetParamsWithTimeout

func NewGetStickerSetParamsWithTimeout(timeout time.Duration) *GetStickerSetParams

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

func (*GetStickerSetParams) SetContext

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

SetContext adds the context to the get sticker set params

func (*GetStickerSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sticker set params

func (*GetStickerSetParams) SetName

func (o *GetStickerSetParams) SetName(name string)

SetName adds the name to the get sticker set params

func (*GetStickerSetParams) SetTimeout

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

SetTimeout adds the timeout to the get sticker set params

func (*GetStickerSetParams) SetToken

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

SetToken adds the token to the get sticker set params

func (*GetStickerSetParams) WithContext

WithContext adds the context to the get sticker set params

func (*GetStickerSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sticker set params

func (*GetStickerSetParams) WithName

func (o *GetStickerSetParams) WithName(name string) *GetStickerSetParams

WithName adds the name to the get sticker set params

func (*GetStickerSetParams) WithTimeout

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

WithTimeout adds the timeout to the get sticker set params

func (*GetStickerSetParams) WithToken

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

WithToken adds the token to the get sticker set params

func (*GetStickerSetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStickerSetReader

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

GetStickerSetReader is a Reader for the GetStickerSet structure.

func (*GetStickerSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStickerSetUnauthorized

type GetStickerSetUnauthorized struct {
	Payload *models.Error
}

GetStickerSetUnauthorized handles this case with default header values.

Unauthorized

func NewGetStickerSetUnauthorized

func NewGetStickerSetUnauthorized() *GetStickerSetUnauthorized

NewGetStickerSetUnauthorized creates a GetStickerSetUnauthorized with default headers values

func (*GetStickerSetUnauthorized) Error

func (o *GetStickerSetUnauthorized) Error() string

type SetStickerPositionInSetBadRequest

type SetStickerPositionInSetBadRequest struct {
	Payload *models.Error
}

SetStickerPositionInSetBadRequest handles this case with default header values.

Bad Request

func NewSetStickerPositionInSetBadRequest

func NewSetStickerPositionInSetBadRequest() *SetStickerPositionInSetBadRequest

NewSetStickerPositionInSetBadRequest creates a SetStickerPositionInSetBadRequest with default headers values

func (*SetStickerPositionInSetBadRequest) Error

type SetStickerPositionInSetEnhanceYourCalm

type SetStickerPositionInSetEnhanceYourCalm struct {
	Payload *models.Error
}

SetStickerPositionInSetEnhanceYourCalm handles this case with default header values.

Flood

func NewSetStickerPositionInSetEnhanceYourCalm

func NewSetStickerPositionInSetEnhanceYourCalm() *SetStickerPositionInSetEnhanceYourCalm

NewSetStickerPositionInSetEnhanceYourCalm creates a SetStickerPositionInSetEnhanceYourCalm with default headers values

func (*SetStickerPositionInSetEnhanceYourCalm) Error

type SetStickerPositionInSetForbidden

type SetStickerPositionInSetForbidden struct {
	Payload *models.Error
}

SetStickerPositionInSetForbidden handles this case with default header values.

Forbidden

func NewSetStickerPositionInSetForbidden

func NewSetStickerPositionInSetForbidden() *SetStickerPositionInSetForbidden

NewSetStickerPositionInSetForbidden creates a SetStickerPositionInSetForbidden with default headers values

func (*SetStickerPositionInSetForbidden) Error

type SetStickerPositionInSetInternalServerError

type SetStickerPositionInSetInternalServerError struct {
	Payload *models.Error
}

SetStickerPositionInSetInternalServerError handles this case with default header values.

Internal

func NewSetStickerPositionInSetInternalServerError

func NewSetStickerPositionInSetInternalServerError() *SetStickerPositionInSetInternalServerError

NewSetStickerPositionInSetInternalServerError creates a SetStickerPositionInSetInternalServerError with default headers values

func (*SetStickerPositionInSetInternalServerError) Error

type SetStickerPositionInSetNotFound

type SetStickerPositionInSetNotFound struct {
	Payload *models.Error
}

SetStickerPositionInSetNotFound handles this case with default header values.

Not Found

func NewSetStickerPositionInSetNotFound

func NewSetStickerPositionInSetNotFound() *SetStickerPositionInSetNotFound

NewSetStickerPositionInSetNotFound creates a SetStickerPositionInSetNotFound with default headers values

func (*SetStickerPositionInSetNotFound) Error

type SetStickerPositionInSetOK

type SetStickerPositionInSetOK struct {
	Payload *models.ResponseBool
}

SetStickerPositionInSetOK handles this case with default header values.

SetStickerPositionInSetOK set sticker position in set o k

func NewSetStickerPositionInSetOK

func NewSetStickerPositionInSetOK() *SetStickerPositionInSetOK

NewSetStickerPositionInSetOK creates a SetStickerPositionInSetOK with default headers values

func (*SetStickerPositionInSetOK) Error

func (o *SetStickerPositionInSetOK) Error() string

type SetStickerPositionInSetParams

type SetStickerPositionInSetParams struct {

	/*Position*/
	Position int64
	/*Sticker*/
	Sticker string
	/*Token
	  bot's token to authorize the request

	*/
	Token *string

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

SetStickerPositionInSetParams contains all the parameters to send to the API endpoint for the set sticker position in set operation typically these are written to a http.Request

func NewSetStickerPositionInSetParams

func NewSetStickerPositionInSetParams() *SetStickerPositionInSetParams

NewSetStickerPositionInSetParams creates a new SetStickerPositionInSetParams object with the default values initialized.

func NewSetStickerPositionInSetParamsWithContext

func NewSetStickerPositionInSetParamsWithContext(ctx context.Context) *SetStickerPositionInSetParams

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

func NewSetStickerPositionInSetParamsWithHTTPClient

func NewSetStickerPositionInSetParamsWithHTTPClient(client *http.Client) *SetStickerPositionInSetParams

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

func NewSetStickerPositionInSetParamsWithTimeout

func NewSetStickerPositionInSetParamsWithTimeout(timeout time.Duration) *SetStickerPositionInSetParams

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

func (*SetStickerPositionInSetParams) SetContext

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

SetContext adds the context to the set sticker position in set params

func (*SetStickerPositionInSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set sticker position in set params

func (*SetStickerPositionInSetParams) SetPosition

func (o *SetStickerPositionInSetParams) SetPosition(position int64)

SetPosition adds the position to the set sticker position in set params

func (*SetStickerPositionInSetParams) SetSticker

func (o *SetStickerPositionInSetParams) SetSticker(sticker string)

SetSticker adds the sticker to the set sticker position in set params

func (*SetStickerPositionInSetParams) SetTimeout

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

SetTimeout adds the timeout to the set sticker position in set params

func (*SetStickerPositionInSetParams) SetToken

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

SetToken adds the token to the set sticker position in set params

func (*SetStickerPositionInSetParams) WithContext

WithContext adds the context to the set sticker position in set params

func (*SetStickerPositionInSetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set sticker position in set params

func (*SetStickerPositionInSetParams) WithPosition

WithPosition adds the position to the set sticker position in set params

func (*SetStickerPositionInSetParams) WithSticker

WithSticker adds the sticker to the set sticker position in set params

func (*SetStickerPositionInSetParams) WithTimeout

WithTimeout adds the timeout to the set sticker position in set params

func (*SetStickerPositionInSetParams) WithToken

WithToken adds the token to the set sticker position in set params

func (*SetStickerPositionInSetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetStickerPositionInSetReader

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

SetStickerPositionInSetReader is a Reader for the SetStickerPositionInSet structure.

func (*SetStickerPositionInSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetStickerPositionInSetUnauthorized

type SetStickerPositionInSetUnauthorized struct {
	Payload *models.Error
}

SetStickerPositionInSetUnauthorized handles this case with default header values.

Unauthorized

func NewSetStickerPositionInSetUnauthorized

func NewSetStickerPositionInSetUnauthorized() *SetStickerPositionInSetUnauthorized

NewSetStickerPositionInSetUnauthorized creates a SetStickerPositionInSetUnauthorized with default headers values

func (*SetStickerPositionInSetUnauthorized) Error

type UploadStickerFileBadRequest

type UploadStickerFileBadRequest struct {
	Payload *models.Error
}

UploadStickerFileBadRequest handles this case with default header values.

Bad Request

func NewUploadStickerFileBadRequest

func NewUploadStickerFileBadRequest() *UploadStickerFileBadRequest

NewUploadStickerFileBadRequest creates a UploadStickerFileBadRequest with default headers values

func (*UploadStickerFileBadRequest) Error

type UploadStickerFileEnhanceYourCalm

type UploadStickerFileEnhanceYourCalm struct {
	Payload *models.Error
}

UploadStickerFileEnhanceYourCalm handles this case with default header values.

Flood

func NewUploadStickerFileEnhanceYourCalm

func NewUploadStickerFileEnhanceYourCalm() *UploadStickerFileEnhanceYourCalm

NewUploadStickerFileEnhanceYourCalm creates a UploadStickerFileEnhanceYourCalm with default headers values

func (*UploadStickerFileEnhanceYourCalm) Error

type UploadStickerFileForbidden

type UploadStickerFileForbidden struct {
	Payload *models.Error
}

UploadStickerFileForbidden handles this case with default header values.

Forbidden

func NewUploadStickerFileForbidden

func NewUploadStickerFileForbidden() *UploadStickerFileForbidden

NewUploadStickerFileForbidden creates a UploadStickerFileForbidden with default headers values

func (*UploadStickerFileForbidden) Error

type UploadStickerFileInternalServerError

type UploadStickerFileInternalServerError struct {
	Payload *models.Error
}

UploadStickerFileInternalServerError handles this case with default header values.

Internal

func NewUploadStickerFileInternalServerError

func NewUploadStickerFileInternalServerError() *UploadStickerFileInternalServerError

NewUploadStickerFileInternalServerError creates a UploadStickerFileInternalServerError with default headers values

func (*UploadStickerFileInternalServerError) Error

type UploadStickerFileLinkBadRequest

type UploadStickerFileLinkBadRequest struct {
	Payload *models.Error
}

UploadStickerFileLinkBadRequest handles this case with default header values.

Bad Request

func NewUploadStickerFileLinkBadRequest

func NewUploadStickerFileLinkBadRequest() *UploadStickerFileLinkBadRequest

NewUploadStickerFileLinkBadRequest creates a UploadStickerFileLinkBadRequest with default headers values

func (*UploadStickerFileLinkBadRequest) Error

type UploadStickerFileLinkEnhanceYourCalm

type UploadStickerFileLinkEnhanceYourCalm struct {
	Payload *models.Error
}

UploadStickerFileLinkEnhanceYourCalm handles this case with default header values.

Flood

func NewUploadStickerFileLinkEnhanceYourCalm

func NewUploadStickerFileLinkEnhanceYourCalm() *UploadStickerFileLinkEnhanceYourCalm

NewUploadStickerFileLinkEnhanceYourCalm creates a UploadStickerFileLinkEnhanceYourCalm with default headers values

func (*UploadStickerFileLinkEnhanceYourCalm) Error

type UploadStickerFileLinkForbidden

type UploadStickerFileLinkForbidden struct {
	Payload *models.Error
}

UploadStickerFileLinkForbidden handles this case with default header values.

Forbidden

func NewUploadStickerFileLinkForbidden

func NewUploadStickerFileLinkForbidden() *UploadStickerFileLinkForbidden

NewUploadStickerFileLinkForbidden creates a UploadStickerFileLinkForbidden with default headers values

func (*UploadStickerFileLinkForbidden) Error

type UploadStickerFileLinkInternalServerError

type UploadStickerFileLinkInternalServerError struct {
	Payload *models.Error
}

UploadStickerFileLinkInternalServerError handles this case with default header values.

Internal

func NewUploadStickerFileLinkInternalServerError

func NewUploadStickerFileLinkInternalServerError() *UploadStickerFileLinkInternalServerError

NewUploadStickerFileLinkInternalServerError creates a UploadStickerFileLinkInternalServerError with default headers values

func (*UploadStickerFileLinkInternalServerError) Error

type UploadStickerFileLinkNotFound

type UploadStickerFileLinkNotFound struct {
	Payload *models.Error
}

UploadStickerFileLinkNotFound handles this case with default header values.

Not Found

func NewUploadStickerFileLinkNotFound

func NewUploadStickerFileLinkNotFound() *UploadStickerFileLinkNotFound

NewUploadStickerFileLinkNotFound creates a UploadStickerFileLinkNotFound with default headers values

func (*UploadStickerFileLinkNotFound) Error

type UploadStickerFileLinkOK

type UploadStickerFileLinkOK struct {
	Payload *models.File
}

UploadStickerFileLinkOK handles this case with default header values.

UploadStickerFileLinkOK upload sticker file link o k

func NewUploadStickerFileLinkOK

func NewUploadStickerFileLinkOK() *UploadStickerFileLinkOK

NewUploadStickerFileLinkOK creates a UploadStickerFileLinkOK with default headers values

func (*UploadStickerFileLinkOK) Error

func (o *UploadStickerFileLinkOK) Error() string

type UploadStickerFileLinkParams

type UploadStickerFileLinkParams struct {

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

	*/
	Token *string
	/*UserID*/
	UserID int64

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

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

func NewUploadStickerFileLinkParams

func NewUploadStickerFileLinkParams() *UploadStickerFileLinkParams

NewUploadStickerFileLinkParams creates a new UploadStickerFileLinkParams object with the default values initialized.

func NewUploadStickerFileLinkParamsWithContext

func NewUploadStickerFileLinkParamsWithContext(ctx context.Context) *UploadStickerFileLinkParams

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

func NewUploadStickerFileLinkParamsWithHTTPClient

func NewUploadStickerFileLinkParamsWithHTTPClient(client *http.Client) *UploadStickerFileLinkParams

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

func NewUploadStickerFileLinkParamsWithTimeout

func NewUploadStickerFileLinkParamsWithTimeout(timeout time.Duration) *UploadStickerFileLinkParams

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

func (*UploadStickerFileLinkParams) SetContext

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

SetContext adds the context to the upload sticker file link params

func (*UploadStickerFileLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload sticker file link params

func (*UploadStickerFileLinkParams) SetPngSticker

func (o *UploadStickerFileLinkParams) SetPngSticker(pngSticker string)

SetPngSticker adds the pngSticker to the upload sticker file link params

func (*UploadStickerFileLinkParams) SetTimeout

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

SetTimeout adds the timeout to the upload sticker file link params

func (*UploadStickerFileLinkParams) SetToken

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

SetToken adds the token to the upload sticker file link params

func (*UploadStickerFileLinkParams) SetUserID

func (o *UploadStickerFileLinkParams) SetUserID(userID int64)

SetUserID adds the userId to the upload sticker file link params

func (*UploadStickerFileLinkParams) WithContext

WithContext adds the context to the upload sticker file link params

func (*UploadStickerFileLinkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload sticker file link params

func (*UploadStickerFileLinkParams) WithPngSticker

func (o *UploadStickerFileLinkParams) WithPngSticker(pngSticker string) *UploadStickerFileLinkParams

WithPngSticker adds the pngSticker to the upload sticker file link params

func (*UploadStickerFileLinkParams) WithTimeout

WithTimeout adds the timeout to the upload sticker file link params

func (*UploadStickerFileLinkParams) WithToken

WithToken adds the token to the upload sticker file link params

func (*UploadStickerFileLinkParams) WithUserID

WithUserID adds the userID to the upload sticker file link params

func (*UploadStickerFileLinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadStickerFileLinkReader

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

UploadStickerFileLinkReader is a Reader for the UploadStickerFileLink structure.

func (*UploadStickerFileLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadStickerFileLinkUnauthorized

type UploadStickerFileLinkUnauthorized struct {
	Payload *models.Error
}

UploadStickerFileLinkUnauthorized handles this case with default header values.

Unauthorized

func NewUploadStickerFileLinkUnauthorized

func NewUploadStickerFileLinkUnauthorized() *UploadStickerFileLinkUnauthorized

NewUploadStickerFileLinkUnauthorized creates a UploadStickerFileLinkUnauthorized with default headers values

func (*UploadStickerFileLinkUnauthorized) Error

type UploadStickerFileNotFound

type UploadStickerFileNotFound struct {
	Payload *models.Error
}

UploadStickerFileNotFound handles this case with default header values.

Not Found

func NewUploadStickerFileNotFound

func NewUploadStickerFileNotFound() *UploadStickerFileNotFound

NewUploadStickerFileNotFound creates a UploadStickerFileNotFound with default headers values

func (*UploadStickerFileNotFound) Error

func (o *UploadStickerFileNotFound) Error() string

type UploadStickerFileOK

type UploadStickerFileOK struct {
	Payload *models.File
}

UploadStickerFileOK handles this case with default header values.

UploadStickerFileOK upload sticker file o k

func NewUploadStickerFileOK

func NewUploadStickerFileOK() *UploadStickerFileOK

NewUploadStickerFileOK creates a UploadStickerFileOK with default headers values

func (*UploadStickerFileOK) Error

func (o *UploadStickerFileOK) Error() string

type UploadStickerFileParams

type UploadStickerFileParams struct {

	/*PngSticker*/
	PngSticker runtime.NamedReadCloser
	/*Token
	  bot's token to authorize the request

	*/
	Token *string
	/*UserID*/
	UserID int64

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

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

func NewUploadStickerFileParams

func NewUploadStickerFileParams() *UploadStickerFileParams

NewUploadStickerFileParams creates a new UploadStickerFileParams object with the default values initialized.

func NewUploadStickerFileParamsWithContext

func NewUploadStickerFileParamsWithContext(ctx context.Context) *UploadStickerFileParams

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

func NewUploadStickerFileParamsWithHTTPClient

func NewUploadStickerFileParamsWithHTTPClient(client *http.Client) *UploadStickerFileParams

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

func NewUploadStickerFileParamsWithTimeout

func NewUploadStickerFileParamsWithTimeout(timeout time.Duration) *UploadStickerFileParams

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

func (*UploadStickerFileParams) SetContext

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

SetContext adds the context to the upload sticker file params

func (*UploadStickerFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload sticker file params

func (*UploadStickerFileParams) SetPngSticker

func (o *UploadStickerFileParams) SetPngSticker(pngSticker runtime.NamedReadCloser)

SetPngSticker adds the pngSticker to the upload sticker file params

func (*UploadStickerFileParams) SetTimeout

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

SetTimeout adds the timeout to the upload sticker file params

func (*UploadStickerFileParams) SetToken

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

SetToken adds the token to the upload sticker file params

func (*UploadStickerFileParams) SetUserID

func (o *UploadStickerFileParams) SetUserID(userID int64)

SetUserID adds the userId to the upload sticker file params

func (*UploadStickerFileParams) WithContext

WithContext adds the context to the upload sticker file params

func (*UploadStickerFileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload sticker file params

func (*UploadStickerFileParams) WithPngSticker

WithPngSticker adds the pngSticker to the upload sticker file params

func (*UploadStickerFileParams) WithTimeout

WithTimeout adds the timeout to the upload sticker file params

func (*UploadStickerFileParams) WithToken

WithToken adds the token to the upload sticker file params

func (*UploadStickerFileParams) WithUserID

func (o *UploadStickerFileParams) WithUserID(userID int64) *UploadStickerFileParams

WithUserID adds the userID to the upload sticker file params

func (*UploadStickerFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadStickerFileReader

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

UploadStickerFileReader is a Reader for the UploadStickerFile structure.

func (*UploadStickerFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadStickerFileUnauthorized

type UploadStickerFileUnauthorized struct {
	Payload *models.Error
}

UploadStickerFileUnauthorized handles this case with default header values.

Unauthorized

func NewUploadStickerFileUnauthorized

func NewUploadStickerFileUnauthorized() *UploadStickerFileUnauthorized

NewUploadStickerFileUnauthorized creates a UploadStickerFileUnauthorized with default headers values

func (*UploadStickerFileUnauthorized) Error

Jump to

Keyboard shortcuts

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