inline

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnswerInlineQueryBadRequest

type AnswerInlineQueryBadRequest struct {
	Payload *models.Error
}

AnswerInlineQueryBadRequest handles this case with default header values.

Bad Request

func NewAnswerInlineQueryBadRequest

func NewAnswerInlineQueryBadRequest() *AnswerInlineQueryBadRequest

NewAnswerInlineQueryBadRequest creates a AnswerInlineQueryBadRequest with default headers values

func (*AnswerInlineQueryBadRequest) Error

type AnswerInlineQueryEnhanceYourCalm

type AnswerInlineQueryEnhanceYourCalm struct {
	Payload *models.Error
}

AnswerInlineQueryEnhanceYourCalm handles this case with default header values.

Flood

func NewAnswerInlineQueryEnhanceYourCalm

func NewAnswerInlineQueryEnhanceYourCalm() *AnswerInlineQueryEnhanceYourCalm

NewAnswerInlineQueryEnhanceYourCalm creates a AnswerInlineQueryEnhanceYourCalm with default headers values

func (*AnswerInlineQueryEnhanceYourCalm) Error

type AnswerInlineQueryForbidden

type AnswerInlineQueryForbidden struct {
	Payload *models.Error
}

AnswerInlineQueryForbidden handles this case with default header values.

Forbidden

func NewAnswerInlineQueryForbidden

func NewAnswerInlineQueryForbidden() *AnswerInlineQueryForbidden

NewAnswerInlineQueryForbidden creates a AnswerInlineQueryForbidden with default headers values

func (*AnswerInlineQueryForbidden) Error

type AnswerInlineQueryInternalServerError

type AnswerInlineQueryInternalServerError struct {
	Payload *models.Error
}

AnswerInlineQueryInternalServerError handles this case with default header values.

Internal

func NewAnswerInlineQueryInternalServerError

func NewAnswerInlineQueryInternalServerError() *AnswerInlineQueryInternalServerError

NewAnswerInlineQueryInternalServerError creates a AnswerInlineQueryInternalServerError with default headers values

func (*AnswerInlineQueryInternalServerError) Error

type AnswerInlineQueryNotFound

type AnswerInlineQueryNotFound struct {
	Payload *models.Error
}

AnswerInlineQueryNotFound handles this case with default header values.

Not Found

func NewAnswerInlineQueryNotFound

func NewAnswerInlineQueryNotFound() *AnswerInlineQueryNotFound

NewAnswerInlineQueryNotFound creates a AnswerInlineQueryNotFound with default headers values

func (*AnswerInlineQueryNotFound) Error

func (o *AnswerInlineQueryNotFound) Error() string

type AnswerInlineQueryOK

type AnswerInlineQueryOK struct {
	Payload *models.ResponseBool
}

AnswerInlineQueryOK handles this case with default header values.

AnswerInlineQueryOK answer inline query o k

func NewAnswerInlineQueryOK

func NewAnswerInlineQueryOK() *AnswerInlineQueryOK

NewAnswerInlineQueryOK creates a AnswerInlineQueryOK with default headers values

func (*AnswerInlineQueryOK) Error

func (o *AnswerInlineQueryOK) Error() string

type AnswerInlineQueryParams

type AnswerInlineQueryParams struct {

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

	*/
	Token *string

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

AnswerInlineQueryParams contains all the parameters to send to the API endpoint for the answer inline query operation typically these are written to a http.Request

func NewAnswerInlineQueryParams

func NewAnswerInlineQueryParams() *AnswerInlineQueryParams

NewAnswerInlineQueryParams creates a new AnswerInlineQueryParams object with the default values initialized.

func NewAnswerInlineQueryParamsWithContext

func NewAnswerInlineQueryParamsWithContext(ctx context.Context) *AnswerInlineQueryParams

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

func NewAnswerInlineQueryParamsWithHTTPClient

func NewAnswerInlineQueryParamsWithHTTPClient(client *http.Client) *AnswerInlineQueryParams

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

func NewAnswerInlineQueryParamsWithTimeout

func NewAnswerInlineQueryParamsWithTimeout(timeout time.Duration) *AnswerInlineQueryParams

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

func (*AnswerInlineQueryParams) SetBody

SetBody adds the body to the answer inline query params

func (*AnswerInlineQueryParams) SetContext

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

SetContext adds the context to the answer inline query params

func (*AnswerInlineQueryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the answer inline query params

func (*AnswerInlineQueryParams) SetTimeout

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

SetTimeout adds the timeout to the answer inline query params

func (*AnswerInlineQueryParams) SetToken

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

SetToken adds the token to the answer inline query params

func (*AnswerInlineQueryParams) WithBody

WithBody adds the body to the answer inline query params

func (*AnswerInlineQueryParams) WithContext

WithContext adds the context to the answer inline query params

func (*AnswerInlineQueryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the answer inline query params

func (*AnswerInlineQueryParams) WithTimeout

WithTimeout adds the timeout to the answer inline query params

func (*AnswerInlineQueryParams) WithToken

WithToken adds the token to the answer inline query params

func (*AnswerInlineQueryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AnswerInlineQueryReader

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

AnswerInlineQueryReader is a Reader for the AnswerInlineQuery structure.

func (*AnswerInlineQueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AnswerInlineQueryUnauthorized

type AnswerInlineQueryUnauthorized struct {
	Payload *models.Error
}

AnswerInlineQueryUnauthorized handles this case with default header values.

Unauthorized

func NewAnswerInlineQueryUnauthorized

func NewAnswerInlineQueryUnauthorized() *AnswerInlineQueryUnauthorized

NewAnswerInlineQueryUnauthorized creates a AnswerInlineQueryUnauthorized with default headers values

func (*AnswerInlineQueryUnauthorized) Error

type Client

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

Client for inline API

func New

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

New creates a new inline API client.

func (*Client) AnswerInlineQuery

func (a *Client) AnswerInlineQuery(params *AnswerInlineQueryParams) (*AnswerInlineQueryOK, error)

AnswerInlineQuery answer inline query API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

Jump to

Keyboard shortcuts

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