Versions in this module Expand all Collapse all v0 v0.0.5 Aug 20, 2025 Changes in this version type ClientOption + func WithTransportToken(token string) ClientOption v0.0.4 Aug 20, 2025 Changes in this version + const Transport_tokenScopes + func NewAckMessageRequest(server string, body AckMessageJSONRequestBody) (*http.Request, error) + func NewAckMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewActivateChannelRequest(server string, body ActivateChannelJSONRequestBody) (*http.Request, error) + func NewActivateChannelRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewActivateTemplateRequest(server string, channelID ChannelID, body ActivateTemplateJSONRequestBody) (*http.Request, error) + func NewActivateTemplateRequestWithBody(server string, channelID ChannelID, contentType string, body io.Reader) (*http.Request, error) + func NewAddMessageReactionRequest(server string, body AddMessageReactionJSONRequestBody) (*http.Request, error) + func NewAddMessageReactionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewDeactivateChannelRequest(server string, channelID ChannelID) (*http.Request, error) + func NewDeactivateTemplateRequest(server string, channelID ChannelID, templateCode TemplateCodePath) (*http.Request, error) + func NewDeleteMessageReactionRequest(server string, body DeleteMessageReactionJSONRequestBody) (*http.Request, error) + func NewDeleteMessageReactionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewDeleteMessageRequest(server string, body DeleteMessageJSONRequestBody) (*http.Request, error) + func NewDeleteMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewEditMessageRequest(server string, body EditMessageJSONRequestBody) (*http.Request, error) + func NewEditMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewGetFileUrlRequest(server string, id FileUUIDPath) (*http.Request, error) + func NewGetTemplatesRequest(server string) (*http.Request, error) + func NewListChannelsRequest(server string, params *ListChannelsParams) (*http.Request, error) + func NewMarkMessageReadRequest(server string, body MarkMessageReadJSONRequestBody) (*http.Request, error) + func NewMarkMessageReadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewMarkMessagesReadUntilRequest(server string, body MarkMessagesReadUntilJSONRequestBody) (*http.Request, error) + func NewMarkMessagesReadUntilRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewRestoreMessageRequest(server string, body RestoreMessageJSONRequestBody) (*http.Request, error) + func NewRestoreMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewSendHistoryMessageRequest(server string, body SendHistoryMessageJSONRequestBody) (*http.Request, error) + func NewSendHistoryMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewSendMessageRequest(server string, body SendMessageJSONRequestBody) (*http.Request, error) + func NewSendMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewUpdateChannelRequest(server string, channelID ChannelID, body UpdateChannelJSONRequestBody) (*http.Request, error) + func NewUpdateChannelRequestWithBody(server string, channelID ChannelID, contentType string, body io.Reader) (*http.Request, error) + func NewUpdateTemplateRequest(server string, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Request, error) + func NewUpdateTemplateRequestWithBody(server string, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Request, error) + func NewUploadFileByUrlRequest(server string, body UploadFileByUrlJSONRequestBody) (*http.Request, error) + func NewUploadFileByUrlRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewUploadFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + type AckMessageJSONBody struct + Channel int64 + CreatedAt *time.Time + Error *SendingError + ExternalMessageID *string + Message *MessageIdentifier + TransportMessageID *string + type AckMessageJSONRequestBody AckMessageJSONBody + type AckMessageRequest struct + Channel int64 + CreatedAt *time.Time + Error *SendingError + ExternalMessageID *string + Message *MessageIdentifier + TransportMessageID *string + type AckMessageResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseAckMessageResp(rsp *http.Response) (*AckMessageResp, error) + func (r AckMessageResp) Status() string + func (r AckMessageResp) StatusCode() int + type ActivateChannelJSONBody struct + AvatarUrl *string + ExternalID string + ID int64 + Name *string + Settings ChannelSettings + Type ChannelType + type ActivateChannelJSONRequestBody ActivateChannelJSONBody + type ActivateChannelRequest struct + AvatarUrl *string + ExternalID string + ID int64 + Name *string + Settings ChannelSettings + Type ChannelType + type ActivateChannelResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *ActivateChannelResponse + JSON201 *ActivateChannelResponse + JSONDefault *ErrorResponse + func ParseActivateChannelResp(rsp *http.Response) (*ActivateChannelResp, error) + func (r ActivateChannelResp) Status() string + func (r ActivateChannelResp) StatusCode() int + type ActivateChannelResponse struct + ActivatedAt time.Time + ID int64 + type ActivateTemplateJSONBody struct + Body string + Buttons *TemplateButtons + Category *string + Code string + Footer *string + Header *TemplateHeader + Lang *string + Name string + Quality *TemplateQuality + RejectionReason *RejectReason + Template []TemplateItem + Type *TemplateType + VerificationStatus *TemplateVerificationStatus + type ActivateTemplateJSONRequestBody ActivateTemplateJSONBody + type ActivateTemplateRequest struct + Body string + Buttons *TemplateButtons + Category *string + Code string + Footer *string + Header *TemplateHeader + Lang *string + Name string + Quality *TemplateQuality + RejectionReason *RejectReason + Template []TemplateItem + Type *TemplateType + VerificationStatus *TemplateVerificationStatus + type ActivateTemplateResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseActivateTemplateResp(rsp *http.Response) (*ActivateTemplateResp, error) + func (r ActivateTemplateResp) Status() string + func (r ActivateTemplateResp) StatusCode() int + type AddMessageReactionJSONBody struct + Channel int64 + Message MessageIdentifier + Reaction string + type AddMessageReactionJSONRequestBody AddMessageReactionJSONBody + type AddMessageReactionResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseAddMessageReactionResp(rsp *http.Response) (*AddMessageReactionResp, error) + func (r AddMessageReactionResp) Status() string + func (r AddMessageReactionResp) StatusCode() int + type AddReactionRequest struct + Channel int64 + Message MessageIdentifier + Reaction string + type AudioMessageSetting struct + Creating ChannelFeature + Deleting ChannelFeature + MaxItemSize *int64 + MaxItemsCount *int + Quoting ChannelFeature + Reaction ChannelFeature + type Boolean string + const BooleanFalse + const BooleanN0 + const BooleanN1 + const BooleanTrue + func (Boolean) EnumValues() []string + func (v *Boolean) UnmarshalJSON(data []byte) error + func (v Boolean) ValidateEnum() error + type Channel struct + ActivatedAt time.Time + CreatedAt time.Time + DeactivatedAt *time.Time + ExternalID *string + ID int64 + IsActive bool + Name *string + Settings ChannelSettings + Type ChannelType + UpdatedAt *time.Time + type ChannelActiveQuery = Boolean + type ChannelFeature string + const ChannelFeatureBoth + const ChannelFeatureNone + const ChannelFeatureReceive + const ChannelFeatureSend + func (ChannelFeature) EnumValues() []string + func (v *ChannelFeature) UnmarshalJSON(data []byte) error + func (v ChannelFeature) ValidateEnum() error + type ChannelID = int64 + type ChannelSettings struct + Audio AudioMessageSetting + CustomerExternalId CustomerExternalId + File FileMessageSetting + Image ImageMessageSetting + Order OrderMessageSetting + Product ProductMessageSetting + Reactions Reactions + SendingPolicy SendingPolicy + Status StatusSetting + Suggestions Suggestions + Template TemplateSetting + Text TextMessageSetting + Whatsapp *WAChannelProperties + type ChannelType string + const ChannelTypeAvito + const ChannelTypeConsultant + const ChannelTypeCustom + const ChannelTypeDrom + const ChannelTypeFbmessenger + const ChannelTypeInstagram + const ChannelTypeMax + const ChannelTypeMegaMarket + const ChannelTypeOdnoklassniki + const ChannelTypeOzon + const ChannelTypeSkype + const ChannelTypeTelegram + const ChannelTypeViber + const ChannelTypeVk + const ChannelTypeWhatsapp + const ChannelTypeWildberries + const ChannelTypeYandexChat + const ChannelTypeYandexMarket + const ChannelTypeYoula + func (ChannelType) EnumValues() []string + func (v *ChannelType) UnmarshalJSON(data []byte) error + func (v ChannelType) ValidateEnum() error + type ChannelTypeQuery = []ChannelType + type ChannelsListResponse = []Channel + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) AckMessage(ctx context.Context, body AckMessageJSONRequestBody, ...) (*http.Response, error) + func (c *Client) AckMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ActivateChannel(ctx context.Context, body ActivateChannelJSONRequestBody, ...) (*http.Response, error) + func (c *Client) ActivateChannelWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ActivateTemplate(ctx context.Context, channelID ChannelID, body ActivateTemplateJSONRequestBody, ...) (*http.Response, error) + func (c *Client) ActivateTemplateWithBody(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) AddMessageReaction(ctx context.Context, body AddMessageReactionJSONRequestBody, ...) (*http.Response, error) + func (c *Client) AddMessageReactionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) DeactivateChannel(ctx context.Context, channelID ChannelID, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) DeactivateTemplate(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Response, error) + func (c *Client) DeleteMessage(ctx context.Context, body DeleteMessageJSONRequestBody, ...) (*http.Response, error) + func (c *Client) DeleteMessageReaction(ctx context.Context, body DeleteMessageReactionJSONRequestBody, ...) (*http.Response, error) + func (c *Client) DeleteMessageReactionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) DeleteMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) EditMessage(ctx context.Context, body EditMessageJSONRequestBody, ...) (*http.Response, error) + func (c *Client) EditMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) GetFileUrl(ctx context.Context, id FileUUIDPath, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListChannels(ctx context.Context, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) MarkMessageRead(ctx context.Context, body MarkMessageReadJSONRequestBody, ...) (*http.Response, error) + func (c *Client) MarkMessageReadWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) MarkMessagesReadUntil(ctx context.Context, body MarkMessagesReadUntilJSONRequestBody, ...) (*http.Response, error) + func (c *Client) MarkMessagesReadUntilWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) RestoreMessage(ctx context.Context, body RestoreMessageJSONRequestBody, ...) (*http.Response, error) + func (c *Client) RestoreMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) SendHistoryMessage(ctx context.Context, body SendHistoryMessageJSONRequestBody, ...) (*http.Response, error) + func (c *Client) SendHistoryMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) SendMessage(ctx context.Context, body SendMessageJSONRequestBody, ...) (*http.Response, error) + func (c *Client) SendMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) UpdateChannel(ctx context.Context, channelID ChannelID, body UpdateChannelJSONRequestBody, ...) (*http.Response, error) + func (c *Client) UpdateChannelWithBody(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) UpdateTemplate(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Response, error) + func (c *Client) UpdateTemplateWithBody(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Response, error) + func (c *Client) UploadFileByUrl(ctx context.Context, body UploadFileByUrlJSONRequestBody, ...) (*http.Response, error) + func (c *Client) UploadFileByUrlWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) UploadFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + AckMessage func(ctx context.Context, body AckMessageJSONRequestBody, ...) (*http.Response, error) + AckMessageWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + ActivateChannel func(ctx context.Context, body ActivateChannelJSONRequestBody, ...) (*http.Response, error) + ActivateChannelWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + ActivateTemplate func(ctx context.Context, channelID ChannelID, body ActivateTemplateJSONRequestBody, ...) (*http.Response, error) + ActivateTemplateWithBody func(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*http.Response, error) + AddMessageReaction func(ctx context.Context, body AddMessageReactionJSONRequestBody, ...) (*http.Response, error) + AddMessageReactionWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + DeactivateChannel func(ctx context.Context, channelID ChannelID, reqEditors ...RequestEditorFn) (*http.Response, error) + DeactivateTemplate func(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Response, error) + DeleteMessage func(ctx context.Context, body DeleteMessageJSONRequestBody, ...) (*http.Response, error) + DeleteMessageReaction func(ctx context.Context, body DeleteMessageReactionJSONRequestBody, ...) (*http.Response, error) + DeleteMessageReactionWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + DeleteMessageWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + EditMessage func(ctx context.Context, body EditMessageJSONRequestBody, ...) (*http.Response, error) + EditMessageWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + GetFileUrl func(ctx context.Context, id FileUUIDPath, reqEditors ...RequestEditorFn) (*http.Response, error) + GetTemplates func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ListChannels func(ctx context.Context, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + MarkMessageRead func(ctx context.Context, body MarkMessageReadJSONRequestBody, ...) (*http.Response, error) + MarkMessageReadWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + MarkMessagesReadUntil func(ctx context.Context, body MarkMessagesReadUntilJSONRequestBody, ...) (*http.Response, error) + MarkMessagesReadUntilWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + RestoreMessage func(ctx context.Context, body RestoreMessageJSONRequestBody, ...) (*http.Response, error) + RestoreMessageWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + SendHistoryMessage func(ctx context.Context, body SendHistoryMessageJSONRequestBody, ...) (*http.Response, error) + SendHistoryMessageWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + SendMessage func(ctx context.Context, body SendMessageJSONRequestBody, ...) (*http.Response, error) + SendMessageWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + UpdateChannel func(ctx context.Context, channelID ChannelID, body UpdateChannelJSONRequestBody, ...) (*http.Response, error) + UpdateChannelWithBody func(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*http.Response, error) + UpdateTemplate func(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Response, error) + UpdateTemplateWithBody func(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*http.Response, error) + UploadFileByUrl func(ctx context.Context, body UploadFileByUrlJSONRequestBody, ...) (*http.Response, error) + UploadFileByUrlWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + UploadFileWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) AckMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AckMessageResp, error) + func (c *ClientWithResponses) AckMessageWithResponse(ctx context.Context, body AckMessageJSONRequestBody, ...) (*AckMessageResp, error) + func (c *ClientWithResponses) ActivateChannelWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ActivateChannelResp, error) + func (c *ClientWithResponses) ActivateChannelWithResponse(ctx context.Context, body ActivateChannelJSONRequestBody, ...) (*ActivateChannelResp, error) + func (c *ClientWithResponses) ActivateTemplateWithBodyWithResponse(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*ActivateTemplateResp, error) + func (c *ClientWithResponses) ActivateTemplateWithResponse(ctx context.Context, channelID ChannelID, body ActivateTemplateJSONRequestBody, ...) (*ActivateTemplateResp, error) + func (c *ClientWithResponses) AddMessageReactionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddMessageReactionResp, error) + func (c *ClientWithResponses) AddMessageReactionWithResponse(ctx context.Context, body AddMessageReactionJSONRequestBody, ...) (*AddMessageReactionResp, error) + func (c *ClientWithResponses) DeactivateChannelWithResponse(ctx context.Context, channelID ChannelID, reqEditors ...RequestEditorFn) (*DeactivateChannelResp, error) + func (c *ClientWithResponses) DeactivateTemplateWithResponse(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*DeactivateTemplateResp, error) + func (c *ClientWithResponses) DeleteMessageReactionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteMessageReactionResp, error) + func (c *ClientWithResponses) DeleteMessageReactionWithResponse(ctx context.Context, body DeleteMessageReactionJSONRequestBody, ...) (*DeleteMessageReactionResp, error) + func (c *ClientWithResponses) DeleteMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteMessageResp, error) + func (c *ClientWithResponses) DeleteMessageWithResponse(ctx context.Context, body DeleteMessageJSONRequestBody, ...) (*DeleteMessageResp, error) + func (c *ClientWithResponses) EditMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EditMessageResp, error) + func (c *ClientWithResponses) EditMessageWithResponse(ctx context.Context, body EditMessageJSONRequestBody, ...) (*EditMessageResp, error) + func (c *ClientWithResponses) GetFileUrlWithResponse(ctx context.Context, id FileUUIDPath, reqEditors ...RequestEditorFn) (*GetFileUrlResp, error) + func (c *ClientWithResponses) GetTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTemplatesResp, error) + func (c *ClientWithResponses) ListChannelsWithResponse(ctx context.Context, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*ListChannelsResp, error) + func (c *ClientWithResponses) MarkMessageReadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MarkMessageReadResp, error) + func (c *ClientWithResponses) MarkMessageReadWithResponse(ctx context.Context, body MarkMessageReadJSONRequestBody, ...) (*MarkMessageReadResp, error) + func (c *ClientWithResponses) MarkMessagesReadUntilWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MarkMessagesReadUntilResp, error) + func (c *ClientWithResponses) MarkMessagesReadUntilWithResponse(ctx context.Context, body MarkMessagesReadUntilJSONRequestBody, ...) (*MarkMessagesReadUntilResp, error) + func (c *ClientWithResponses) RestoreMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RestoreMessageResp, error) + func (c *ClientWithResponses) RestoreMessageWithResponse(ctx context.Context, body RestoreMessageJSONRequestBody, ...) (*RestoreMessageResp, error) + func (c *ClientWithResponses) SendHistoryMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SendHistoryMessageResp, error) + func (c *ClientWithResponses) SendHistoryMessageWithResponse(ctx context.Context, body SendHistoryMessageJSONRequestBody, ...) (*SendHistoryMessageResp, error) + func (c *ClientWithResponses) SendMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SendMessageResp, error) + func (c *ClientWithResponses) SendMessageWithResponse(ctx context.Context, body SendMessageJSONRequestBody, ...) (*SendMessageResp, error) + func (c *ClientWithResponses) UpdateChannelWithBodyWithResponse(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*UpdateChannelResp, error) + func (c *ClientWithResponses) UpdateChannelWithResponse(ctx context.Context, channelID ChannelID, body UpdateChannelJSONRequestBody, ...) (*UpdateChannelResp, error) + func (c *ClientWithResponses) UpdateTemplateWithBodyWithResponse(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*UpdateTemplateResp, error) + func (c *ClientWithResponses) UpdateTemplateWithResponse(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*UpdateTemplateResp, error) + func (c *ClientWithResponses) UploadFileByUrlWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadFileByUrlResp, error) + func (c *ClientWithResponses) UploadFileByUrlWithResponse(ctx context.Context, body UploadFileByUrlJSONRequestBody, ...) (*UploadFileByUrlResp, error) + func (c *ClientWithResponses) UploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadFileResp, error) + type ClientWithResponsesInterface interface + AckMessageWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*AckMessageResp, error) + AckMessageWithResponse func(ctx context.Context, body AckMessageJSONRequestBody, ...) (*AckMessageResp, error) + ActivateChannelWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*ActivateChannelResp, error) + ActivateChannelWithResponse func(ctx context.Context, body ActivateChannelJSONRequestBody, ...) (*ActivateChannelResp, error) + ActivateTemplateWithBodyWithResponse func(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*ActivateTemplateResp, error) + ActivateTemplateWithResponse func(ctx context.Context, channelID ChannelID, body ActivateTemplateJSONRequestBody, ...) (*ActivateTemplateResp, error) + AddMessageReactionWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*AddMessageReactionResp, error) + AddMessageReactionWithResponse func(ctx context.Context, body AddMessageReactionJSONRequestBody, ...) (*AddMessageReactionResp, error) + DeactivateChannelWithResponse func(ctx context.Context, channelID ChannelID, reqEditors ...RequestEditorFn) (*DeactivateChannelResp, error) + DeactivateTemplateWithResponse func(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*DeactivateTemplateResp, error) + DeleteMessageReactionWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteMessageReactionResp, error) + DeleteMessageReactionWithResponse func(ctx context.Context, body DeleteMessageReactionJSONRequestBody, ...) (*DeleteMessageReactionResp, error) + DeleteMessageWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteMessageResp, error) + DeleteMessageWithResponse func(ctx context.Context, body DeleteMessageJSONRequestBody, ...) (*DeleteMessageResp, error) + EditMessageWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*EditMessageResp, error) + EditMessageWithResponse func(ctx context.Context, body EditMessageJSONRequestBody, ...) (*EditMessageResp, error) + GetFileUrlWithResponse func(ctx context.Context, id FileUUIDPath, reqEditors ...RequestEditorFn) (*GetFileUrlResp, error) + GetTemplatesWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTemplatesResp, error) + ListChannelsWithResponse func(ctx context.Context, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*ListChannelsResp, error) + MarkMessageReadWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*MarkMessageReadResp, error) + MarkMessageReadWithResponse func(ctx context.Context, body MarkMessageReadJSONRequestBody, ...) (*MarkMessageReadResp, error) + MarkMessagesReadUntilWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*MarkMessagesReadUntilResp, error) + MarkMessagesReadUntilWithResponse func(ctx context.Context, body MarkMessagesReadUntilJSONRequestBody, ...) (*MarkMessagesReadUntilResp, error) + RestoreMessageWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*RestoreMessageResp, error) + RestoreMessageWithResponse func(ctx context.Context, body RestoreMessageJSONRequestBody, ...) (*RestoreMessageResp, error) + SendHistoryMessageWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*SendHistoryMessageResp, error) + SendHistoryMessageWithResponse func(ctx context.Context, body SendHistoryMessageJSONRequestBody, ...) (*SendHistoryMessageResp, error) + SendMessageWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*SendMessageResp, error) + SendMessageWithResponse func(ctx context.Context, body SendMessageJSONRequestBody, ...) (*SendMessageResp, error) + UpdateChannelWithBodyWithResponse func(ctx context.Context, channelID ChannelID, contentType string, body io.Reader, ...) (*UpdateChannelResp, error) + UpdateChannelWithResponse func(ctx context.Context, channelID ChannelID, body UpdateChannelJSONRequestBody, ...) (*UpdateChannelResp, error) + UpdateTemplateWithBodyWithResponse func(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*UpdateTemplateResp, error) + UpdateTemplateWithResponse func(ctx context.Context, channelID ChannelID, templateCode TemplateCodePath, ...) (*UpdateTemplateResp, error) + UploadFileByUrlWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*UploadFileByUrlResp, error) + UploadFileByUrlWithResponse func(ctx context.Context, body UploadFileByUrlJSONRequestBody, ...) (*UploadFileByUrlResp, error) + UploadFileWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*UploadFileResp, error) + type Cost struct + Currency string + Value float64 + type CustomerExternalId string + const CustomerExternalIdAny + const CustomerExternalIdPhone + func (CustomerExternalId) EnumValues() []string + func (v *CustomerExternalId) UnmarshalJSON(data []byte) error + func (v CustomerExternalId) ValidateEnum() error + type DeactivateChannelResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *DeactivateChannelResponse + JSONDefault *ErrorResponse + func ParseDeactivateChannelResp(rsp *http.Response) (*DeactivateChannelResp, error) + func (r DeactivateChannelResp) Status() string + func (r DeactivateChannelResp) StatusCode() int + type DeactivateChannelResponse struct + DeactivatedAt time.Time + ID int64 + type DeactivateTemplateResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseDeactivateTemplateResp(rsp *http.Response) (*DeactivateTemplateResp, error) + func (r DeactivateTemplateResp) Status() string + func (r DeactivateTemplateResp) StatusCode() int + type DeleteMessageJSONBody struct + Channel int64 + Message MessageIdentifier + type DeleteMessageJSONRequestBody DeleteMessageJSONBody + type DeleteMessageReactionJSONBody struct + Channel int64 + Message MessageIdentifier + Reaction *string + type DeleteMessageReactionJSONRequestBody DeleteMessageReactionJSONBody + type DeleteMessageReactionResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseDeleteMessageReactionResp(rsp *http.Response) (*DeleteMessageReactionResp, error) + func (r DeleteMessageReactionResp) Status() string + func (r DeleteMessageReactionResp) StatusCode() int + type DeleteMessageRequest struct + Channel int64 + Message MessageIdentifier + type DeleteMessageResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *MessageResponse + JSONDefault *ErrorResponse + func ParseDeleteMessageResp(rsp *http.Response) (*DeleteMessageResp, error) + func (r DeleteMessageResp) Status() string + func (r DeleteMessageResp) StatusCode() int + type DeleteReactionRequest struct + Channel int64 + Message MessageIdentifier + Reaction *string + type EditMessageJSONBody struct + Channel int64 + Message EditMessageRequestMessage + type EditMessageJSONRequestBody EditMessageJSONBody + type EditMessageRequest struct + Channel int64 + Message EditMessageRequestMessage + type EditMessageRequestMessage struct + EditedAt int64 + ExternalID *string + ID *int64 + PageLink *string + Text string + type EditMessageResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseEditMessageResp(rsp *http.Response) (*EditMessageResp, error) + func (r EditMessageResp) Status() string + func (r EditMessageResp) StatusCode() int + type EmptyResponse = map[string]interface + type ErrorResponse struct + Errors *[]string + type File struct + ID openapi_types.UUID + MimeType string + Size int + Type FileType + Url string + type FileBase struct + ID openapi_types.UUID + Size int + Type FileType + type FileMessageSetting struct + Creating ChannelFeature + Deleting ChannelFeature + Editing ChannelFeature + MaxItemSize *int64 + MaxItemsCount *int + NoteMaxCharsCount *uint16 + Quoting ChannelFeature + Reaction ChannelFeature + type FileResponse = File + type FileType string + const FileTypeAudio + const FileTypeFile + const FileTypeImage + const FileTypeNone + const FileTypeVideo + func (FileType) EnumValues() []string + func (v *FileType) UnmarshalJSON(data []byte) error + func (v FileType) ValidateEnum() error + type FileUUIDPath = string + type GetFileUrlResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *FileResponse + JSONDefault *ErrorResponse + func ParseGetFileUrlResp(rsp *http.Response) (*GetFileUrlResp, error) + func (r GetFileUrlResp) Status() string + func (r GetFileUrlResp) StatusCode() int + type GetTemplatesResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *TemplateListResponse + JSONDefault *ErrorResponse + func ParseGetTemplatesResp(rsp *http.Response) (*GetTemplatesResp, error) + func (r GetTemplatesResp) Status() string + func (r GetTemplatesResp) StatusCode() int + type Histogram = []int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ID = int + type ImageMessageSetting struct + Creating ChannelFeature + Deleting ChannelFeature + Editing ChannelFeature + MaxItemSize *int64 + MaxItemsCount *int + NoteMaxCharsCount *uint16 + Quoting ChannelFeature + Reaction ChannelFeature + type LimitQuery = int + type ListChannelsParams struct + Active *ChannelActiveQuery + ID ID + Limit LimitQuery + Since SinceQuery + Types ChannelTypeQuery + Until UntilQuery + type ListChannelsResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *ChannelsListResponse + JSONDefault *ErrorResponse + func ParseListChannelsResp(rsp *http.Response) (*ListChannelsResp, error) + func (r ListChannelsResp) Status() string + func (r ListChannelsResp) StatusCode() int + type MarkMessageReadJSONBody struct + ChannelID int64 + Message MessageIdentifier + type MarkMessageReadJSONRequestBody MarkMessageReadJSONBody + type MarkMessageReadRequest struct + ChannelID int64 + Message MessageIdentifier + type MarkMessageReadResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseMarkMessageReadResp(rsp *http.Response) (*MarkMessageReadResp, error) + func (r MarkMessageReadResp) Status() string + func (r MarkMessageReadResp) StatusCode() int + type MarkMessagesReadUntilJSONBody struct + ChannelID int64 + CustomerExternalID string + Until time.Time + type MarkMessagesReadUntilJSONRequestBody MarkMessagesReadUntilJSONBody + type MarkMessagesReadUntilRequest struct + ChannelID int64 + CustomerExternalID string + Until time.Time + type MarkMessagesReadUntilResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *MarkMessagesReadUntilResponse + JSONDefault *ErrorResponse + func ParseMarkMessagesReadUntilResp(rsp *http.Response) (*MarkMessagesReadUntilResp, error) + func (r MarkMessagesReadUntilResp) Status() string + func (r MarkMessagesReadUntilResp) StatusCode() int + type MarkMessagesReadUntilResponse struct + IDs []int64 + type Message struct + Action SystemAction + Actions []MessageAction + ChatID int64 + Content string + Dialog *MessageDialog + Error *MessageError + From *UserRef + ID int64 + IsEdit bool + IsRead bool + Items []MessageFile + Note string + Order *MessageOrder + Product *MessageProduct + Quote *QuoteMessage + Responsible *UserRef + Scope MessageScope + Status MessageStatus + Time time.Time + TransportAttachments *MessageTransportAttachments + Type MessageType + User *UserRef + type MessageAction string + const MessageActionDelete + const MessageActionEdit + const MessageActionQuote + func (MessageAction) EnumValues() []string + func (v *MessageAction) UnmarshalJSON(data []byte) error + func (v MessageAction) ValidateEnum() error + type MessageDialog struct + ID int64 + type MessageError struct + Code MessageErrorCode + Message string + type MessageErrorCode string + const MessageErrorCodeAccessRestricted + const MessageErrorCodeAsyncSendTimeout + const MessageErrorCodeCustomerNotExists + const MessageErrorCodeGeneral + const MessageErrorCodeMalformedResponse + const MessageErrorCodeNetworkError + const MessageErrorCodeReplyTimedOut + const MessageErrorCodeSpamSuspicion + const MessageErrorCodeUnknown + func (MessageErrorCode) EnumValues() []string + func (v *MessageErrorCode) UnmarshalJSON(data []byte) error + func (v MessageErrorCode) ValidateEnum() error + type MessageFile struct + Caption string + Duration int + Height int + Histogram Histogram + ID openapi_types.UUID + Kind FileType + PreviewURL string + Size int + Transcription string + Type string + Width int + type MessageIdentifier struct + ExternalID *string + ID *int64 + type MessageOrder struct + Cost *Cost + Date *time.Time + Delivery *MessageOrderDelivery + Discount *Cost + ExternalID int64 + Items []MessageOrderItem + Number string + Payments []MessageOrderPayment + Status *MessageOrderStatus + Url string + type MessageOrderDelivery struct + Address string + Comment string + Name string + Price *Cost + type MessageOrderItem struct + ExternalID int64 + Img string + Name string + Price *Cost + Quantity Quantity + Url string + type MessageOrderPayment struct + Amount *Cost + Name string + Status *MessageOrderPaymentStatus + type MessageOrderPaymentStatus struct + Name string + Payed *bool + type MessageOrderStatus struct + Code MessageOrderStatusCode + Name string + type MessageOrderStatusCode string + const MessageOrderStatusCodeApproval + const MessageOrderStatusCodeAssembling + const MessageOrderStatusCodeCancel + const MessageOrderStatusCodeComplete + const MessageOrderStatusCodeDelivery + const MessageOrderStatusCodeNew + func (MessageOrderStatusCode) EnumValues() []string + func (v *MessageOrderStatusCode) UnmarshalJSON(data []byte) error + func (v MessageOrderStatusCode) ValidateEnum() error + type MessageProduct struct + Article string + Cost *Cost + ID uint64 + Img string + Name string + Unit string + Url string + type MessageResponse = Message + type MessageScope string + const MessageScopePrivate + const MessageScopePublic + const MessageScopeUndefined + func (MessageScope) EnumValues() []string + func (v *MessageScope) UnmarshalJSON(data []byte) error + func (v MessageScope) ValidateEnum() error + type MessageStatus string + const MessageStatusFailed + const MessageStatusReceived + const MessageStatusSeen + const MessageStatusSending + const MessageStatusSent + const MessageStatusUndefined + func (MessageStatus) EnumValues() []string + func (v *MessageStatus) UnmarshalJSON(data []byte) error + func (v MessageStatus) ValidateEnum() error + type MessageTransportAttachments struct + Suggestions []Suggestion + type MessageType string + const MessageTypeAudio + const MessageTypeCommand + const MessageTypeFile + const MessageTypeImage + const MessageTypeOrder + const MessageTypeProduct + const MessageTypeSystem + const MessageTypeText + func (MessageType) EnumValues() []string + func (v *MessageType) UnmarshalJSON(data []byte) error + func (v MessageType) ValidateEnum() error + type OrderMessageSetting struct + Creating ChannelFeature + Deleting ChannelFeature + Editing ChannelFeature + Quoting ChannelFeature + Reaction ChannelFeature + type Originator string + const OriginatorChannel + const OriginatorCustomer + const OriginatorUser + func (Originator) EnumValues() []string + func (v *Originator) UnmarshalJSON(data []byte) error + func (v Originator) ValidateEnum() error + type ProductMessageSetting struct + Creating ChannelFeature + Deleting ChannelFeature + Editing ChannelFeature + Quoting ChannelFeature + Reaction ChannelFeature + type Quantity struct + Unit string + Value float64 + type QuoteMessage struct + Content string + From *UserRef + ID int64 + Items []MessageFile + Time time.Time + Type MessageType + type Reactions struct + Dictionary []string + MaxCount int64 + type RejectReason string + const RejectReasonAbusiveContent + const RejectReasonIncorrectCategory + const RejectReasonInvalidFormat + const RejectReasonScam + func (RejectReason) EnumValues() []string + func (v *RejectReason) UnmarshalJSON(data []byte) error + func (v RejectReason) ValidateEnum() error + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type RestoreMessageJSONBody struct + ChannelID int64 + Message MessageIdentifier + type RestoreMessageJSONRequestBody RestoreMessageJSONBody + type RestoreMessageRequest struct + ChannelID int64 + Message MessageIdentifier + type RestoreMessageResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *MessageResponse + JSONDefault *ErrorResponse + func ParseRestoreMessageResp(rsp *http.Response) (*RestoreMessageResp, error) + func (r RestoreMessageResp) Status() string + func (r RestoreMessageResp) StatusCode() int + type SendHistoryMessageJSONBody struct + ChannelID int64 + Customer *SendMessageRequestCustomer + ExternalChatID string + Message SendMessageRequestMessage + Originator Originator + Quote *MessageIdentifier + ReplyDeadline *time.Time + type SendHistoryMessageJSONRequestBody SendHistoryMessageJSONBody + type SendHistoryMessageRequest struct + ChannelID int64 + Customer *SendMessageRequestCustomer + ExternalChatID string + Message SendMessageRequestMessage + Originator Originator + Quote *MessageIdentifier + ReplyDeadline *time.Time + type SendHistoryMessageResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *SendMessageResponse + JSONDefault *ErrorResponse + func ParseSendHistoryMessageResp(rsp *http.Response) (*SendHistoryMessageResp, error) + func (r SendHistoryMessageResp) Status() string + func (r SendHistoryMessageResp) StatusCode() int + type SendMessageJSONBody struct + Channel int64 + Customer *SendMessageRequestCustomer + ExternalChatID string + Message SendMessageRequestMessage + Originator Originator + Quote *MessageIdentifier + ReplyDeadline *time.Time + SecondaryExternalChatIDs []string + User *SendMessageRequestCustomer + type SendMessageJSONRequestBody SendMessageJSONBody + type SendMessageRequest struct + Channel int64 + Customer *SendMessageRequestCustomer + ExternalChatID string + Message SendMessageRequestMessage + Originator Originator + Quote *MessageIdentifier + ReplyDeadline *time.Time + SecondaryExternalChatIDs []string + User *SendMessageRequestCustomer + type SendMessageRequestCustomer struct + Avatar *string + Country *string + Email *string + ExternalID string + FirstName *string + Language *string + LastName *string + Nickname string + Phone *string + ProfileURL *string + SecondaryExternalIDs []string + Utm *Utm + type SendMessageRequestMessage struct + CreatedAt *time.Time + ExternalID *string + Items []SendMessageRequestMessageFileItem + Note string + Order *MessageOrder + PageLink *string + Product *MessageProduct + Text string + Type MessageType + type SendMessageRequestMessageFileItem struct + Caption string + ID openapi_types.UUID + type SendMessageResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *SendMessageResponse + JSONDefault *ErrorResponse + func ParseSendMessageResp(rsp *http.Response) (*SendMessageResp, error) + func (r SendMessageResp) Status() string + func (r SendMessageResp) StatusCode() int + type SendMessageResponse struct + MessageId int64 + Time time.Time + Warnings []string + type SendingError struct + Code SendingErrorCode + ExternalCode *string + Message string + type SendingErrorCode string + const SendingErrorCodeAccessRestricted + const SendingErrorCodeCustomerNotExists + const SendingErrorCodeGeneral + const SendingErrorCodeReplyTimedOut + const SendingErrorCodeSpamSuspicion + func (SendingErrorCode) EnumValues() []string + func (v *SendingErrorCode) UnmarshalJSON(data []byte) error + func (v SendingErrorCode) ValidateEnum() error + type SendingPolicy struct + AfterReplyTimeout SendingPolicyAfterReplyTimeout + NewCustomer SendingPolicyNewCustomer + Outgoing SendingPolicyOutgoing + type SendingPolicyAfterReplyTimeout string + const SendingPolicyAfterReplyTimeoutNo + const SendingPolicyAfterReplyTimeoutTemplate + func (SendingPolicyAfterReplyTimeout) EnumValues() []string + func (v *SendingPolicyAfterReplyTimeout) UnmarshalJSON(data []byte) error + func (v SendingPolicyAfterReplyTimeout) ValidateEnum() error + type SendingPolicyNewCustomer string + const SendingPolicyNewCustomerNo + const SendingPolicyNewCustomerTemplate + const SendingPolicyNewCustomerText + func (SendingPolicyNewCustomer) EnumValues() []string + func (v *SendingPolicyNewCustomer) UnmarshalJSON(data []byte) error + func (v SendingPolicyNewCustomer) ValidateEnum() error + type SendingPolicyOutgoing string + const SendingPolicyOutgoingAllowed + const SendingPolicyOutgoingRestricted + func (SendingPolicyOutgoing) EnumValues() []string + func (v *SendingPolicyOutgoing) UnmarshalJSON(data []byte) error + func (v SendingPolicyOutgoing) ValidateEnum() error + type SinceQuery = time.Time + type StatusSetting struct + Delivered ChannelFeature + Read ChannelFeature + type Suggestion struct + Payload string + Title string + Type SuggestionType + type SuggestionType string + const SuggestionTypeEmail + const SuggestionTypePhone + const SuggestionTypeText + const SuggestionTypeUrl + func (SuggestionType) EnumValues() []string + func (v *SuggestionType) UnmarshalJSON(data []byte) error + func (v SuggestionType) ValidateEnum() error + type Suggestions struct + Email ChannelFeature + Phone ChannelFeature + Text ChannelFeature + Url ChannelFeature + type SystemAction string + const SystemActionCustomerBlocked + const SystemActionCustomerUnblocked + const SystemActionDialogAssign + const SystemActionDialogClosed + const SystemActionDialogOpened + const SystemActionDialogUnassign + const SystemActionUserJoined + const SystemActionUserLeft + func (SystemAction) EnumValues() []string + func (v *SystemAction) UnmarshalJSON(data []byte) error + func (v SystemAction) ValidateEnum() error + type SystemMessage struct + Action SystemAction + Responsible *UserRef + User *UserRef + type Template struct + Body string + Buttons *TemplateButtons + Category string + ChannelID int64 + Code *string + Enabled bool + Example *TemplateExample + Footer string + Header *TemplateHeader + ID int64 + Lang string + Name string + Quality *TemplateQuality + RejectionReason RejectReason + Template []TemplateItem + Type TemplateType + VerificationStatus TemplateVerificationStatus + type TemplateBase struct + Body string + Buttons *TemplateButtons + Category *string + Footer *string + Header *TemplateHeader + Lang *string + Name string + Quality *TemplateQuality + RejectionReason *RejectReason + Template []TemplateItem + VerificationStatus *TemplateVerificationStatus + type TemplateButton struct + Label string + Phone *string + Type TemplateButtonType + Url *string + type TemplateButtonType string + const TemplateButtonTypePhone + const TemplateButtonTypePlain + const TemplateButtonTypeUrl + func (TemplateButtonType) EnumValues() []string + func (v *TemplateButtonType) UnmarshalJSON(data []byte) error + func (v TemplateButtonType) ValidateEnum() error + type TemplateButtons struct + Items []TemplateButton + type TemplateCodePath = string + type TemplateExample struct + Attachments []TemplateExampleAttachment + Body []string + Buttons [][]string + Header []string + type TemplateExampleAttachment struct + Caption string + Id openapi_types.UUID + type TemplateHeader struct + Content TemplateHeaderContent + type TemplateHeaderContent struct + Body string + Type TemplateHeaderContentType + type TemplateHeaderContentType string + const TemplateHeaderContentTypeDocument + const TemplateHeaderContentTypeImage + const TemplateHeaderContentTypeText + const TemplateHeaderContentTypeVideo + func (TemplateHeaderContentType) EnumValues() []string + func (v *TemplateHeaderContentType) UnmarshalJSON(data []byte) error + func (v TemplateHeaderContentType) ValidateEnum() error + type TemplateItem struct + Text string + Type TemplateItemType + VarType TemplateVarType + type TemplateItemType uint8 + const TemplateItemTypeText + const TemplateItemTypeVar + func (TemplateItemType) EnumValues() []string + func (v *TemplateItemType) UnmarshalJSON(data []byte) error + func (v TemplateItemType) ValidateEnum() error + type TemplateListResponse = []Template + type TemplateQuality string + const TemplateQualityHigh + const TemplateQualityLow + const TemplateQualityMedium + const TemplateQualityPending + func (TemplateQuality) EnumValues() []string + func (v *TemplateQuality) UnmarshalJSON(data []byte) error + func (v TemplateQuality) ValidateEnum() error + type TemplateSetting struct + Creation bool + type TemplateType string + const TemplateTypeMedia + const TemplateTypeText + func (TemplateType) EnumValues() []string + func (v *TemplateType) UnmarshalJSON(data []byte) error + func (v TemplateType) ValidateEnum() error + type TemplateVarType uint8 + const TemplateVarTypeCustom + const TemplateVarTypeFirstname + const TemplateVarTypeLastname + const TemplateVarTypeName + func (TemplateVarType) EnumValues() []string + func (v *TemplateVarType) UnmarshalJSON(data []byte) error + func (v TemplateVarType) ValidateEnum() error + type TemplateVerificationStatus string + const TemplateVerificationStatusApproved + const TemplateVerificationStatusDisabled + const TemplateVerificationStatusPaused + const TemplateVerificationStatusPending + const TemplateVerificationStatusRejected + func (TemplateVerificationStatus) EnumValues() []string + func (v *TemplateVerificationStatus) UnmarshalJSON(data []byte) error + func (v TemplateVerificationStatus) ValidateEnum() error + type TextMessage struct + Content string + Quote *QuoteMessage + type TextMessageSetting struct + Creating ChannelFeature + Deleting ChannelFeature + Editing ChannelFeature + MaxCharsCount *uint16 + Quoting ChannelFeature + Reaction ChannelFeature + type UntilQuery = time.Time + type UpdateChannelJSONBody struct + AvatarUrl *string + ExternalID *string + Name *string + Settings ChannelSettings + Type *ChannelType + type UpdateChannelJSONRequestBody UpdateChannelJSONBody + type UpdateChannelRequest struct + AvatarUrl *string + ExternalID *string + Name *string + Settings ChannelSettings + Type *ChannelType + type UpdateChannelResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *UpdateChannelResponse + JSONDefault *ErrorResponse + func ParseUpdateChannelResp(rsp *http.Response) (*UpdateChannelResp, error) + func (r UpdateChannelResp) Status() string + func (r UpdateChannelResp) StatusCode() int + type UpdateChannelResponse struct + ID int64 + UpdatedAt time.Time + type UpdateTemplateJSONBody struct + Body string + Buttons *TemplateButtons + Category *string + Footer *string + Header *TemplateHeader + Lang *string + Name string + Quality *TemplateQuality + RejectionReason *RejectReason + Template []TemplateItem + VerificationStatus TemplateVerificationStatus + type UpdateTemplateJSONRequestBody UpdateTemplateJSONBody + type UpdateTemplateRequest struct + Body string + Buttons *TemplateButtons + Category *string + Footer *string + Header *TemplateHeader + Lang *string + Name string + Quality *TemplateQuality + RejectionReason *RejectReason + Template []TemplateItem + VerificationStatus TemplateVerificationStatus + type UpdateTemplateResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *EmptyResponse + JSONDefault *ErrorResponse + func ParseUpdateTemplateResp(rsp *http.Response) (*UpdateTemplateResp, error) + func (r UpdateTemplateResp) Status() string + func (r UpdateTemplateResp) StatusCode() int + type UploadFileByUrlJSONBody struct + Url string + type UploadFileByUrlJSONRequestBody UploadFileByUrlJSONBody + type UploadFileByUrlRequest struct + Url string + type UploadFileByUrlResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *UploadFileResponse + JSONDefault *ErrorResponse + func ParseUploadFileByUrlResp(rsp *http.Response) (*UploadFileByUrlResp, error) + func (r UploadFileByUrlResp) Status() string + func (r UploadFileByUrlResp) StatusCode() int + type UploadFileMultipartBody = openapi_types.File + type UploadFileMultipartRequestBody = UploadFileMultipartBody + type UploadFileResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *UploadFileResponse + JSONDefault *ErrorResponse + func ParseUploadFileResp(rsp *http.Response) (*UploadFileResp, error) + func (r UploadFileResp) Status() string + func (r UploadFileResp) StatusCode() int + type UploadFileResponse = FileBase + type UserRef struct + Available bool + Avatar string + Email string + ExternalID string + FirstName string + ID int64 + IsBlocked bool + IsSystem bool + IsTechnicalAccount bool + LastName string + Name string + Phone string + Type UserType + Username string + type UserType string + const UserTypeBot + const UserTypeChannel + const UserTypeCustomer + const UserTypeUser + func (UserType) EnumValues() []string + func (v *UserType) UnmarshalJSON(data []byte) error + func (v UserType) ValidateEnum() error + type Utm struct + Campaign *string + Content *string + Medium *string + Source *string + Term *string + type WAChannelProperties struct + ChannelQuality *WAChannelQuality + ChannelStatus *WAChannelStatus + Tier *int + type WAChannelQuality string + const WAChannelQualityHigh + const WAChannelQualityLow + const WAChannelQualityMedium + func (WAChannelQuality) EnumValues() []string + func (v *WAChannelQuality) UnmarshalJSON(data []byte) error + func (v WAChannelQuality) ValidateEnum() error + type WAChannelStatus string + const WAChannelStatusConnected + const WAChannelStatusFlagged + const WAChannelStatusOffline + const WAChannelStatusPending + const WAChannelStatusRestricted + func (WAChannelStatus) EnumValues() []string + func (v *WAChannelStatus) UnmarshalJSON(data []byte) error + func (v WAChannelStatus) ValidateEnum() error