Versions in this module Expand all Collapse all v0 v0.2.0 Dec 4, 2025 v0.1.0 Dec 3, 2025 Changes in this version + const CloudServer + func WithServerURL(ctx context.Context, u *url.URL) context.Context + type AuthToken struct + APIKey string + Roles []string + func (s *AuthToken) GetAPIKey() string + func (s *AuthToken) GetRoles() []string + func (s *AuthToken) SetAPIKey(val string) + func (s *AuthToken) SetRoles(val []string) + type Client struct + func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error) + func (c *Client) CommandGetListPost(ctx context.Context) (CommandGetListPostOK, error) + func (c *Client) CommandUpdatePost(ctx context.Context, request *CommandListRequest) (CommandUpdatePostOK, error) + func (c *Client) FileGetUrlPost(ctx context.Context) (FileGetUrlPostOK, error) + func (c *Client) GroupGetListPost(ctx context.Context, request *GetListRequest) (GroupGetListPostOK, error) + func (c *Client) GroupSendPost(ctx context.Context, request *GroupSendRequest) (GroupSendPostOK, error) + func (c *Client) MessageAddReactionPost(ctx context.Context, request *MessageAddReactionRequest) (MessageAddReactionPostOK, error) + func (c *Client) MessageRemoveReactionPost(ctx context.Context, request *MessageRemoveReactionRequest) (MessageRemoveReactionPostOK, error) + func (c *Client) Post(ctx context.Context, request *PostReq) (PostOK, error) + func (c *Client) ThreadSendPost(ctx context.Context, request *ThreadSendRequest) (ThreadSendPostOK, error) + func (c *Client) UserGetListPost(ctx context.Context, request *GetListRequest) (UserGetListPostOK, error) + func (c *Client) UserSendPost(ctx context.Context, request *UserSendRequest) (UserSendPostOK, error) + func (c *Client) WebhookGetVersionPost(ctx context.Context) (WebhookGetVersionPostOK, error) + func (c *Client) WebhookSetVersionPost(ctx context.Context, request *WebhookBotVersion) (WebhookSetVersionPostOK, error) + type ClientOption interface + func WithClient(client ht.Client) ClientOption + type Command string + func (s *Command) Decode(d *jx.Decoder) error + func (s *Command) UnmarshalJSON(data []byte) error + func (s Command) Encode(e *jx.Encoder) + func (s Command) MarshalJSON() ([]byte, error) + func (s Command) Validate() error + type CommandGetListPostOK struct + CommandListResponse CommandListResponse + ErrorResponse ErrorResponse + Type CommandGetListPostOKType + func NewCommandListResponseCommandGetListPostOK(v CommandListResponse) CommandGetListPostOK + func NewErrorResponseCommandGetListPostOK(v ErrorResponse) CommandGetListPostOK + func (s *CommandGetListPostOK) Decode(d *jx.Decoder) error + func (s *CommandGetListPostOK) SetCommandListResponse(v CommandListResponse) + func (s *CommandGetListPostOK) SetErrorResponse(v ErrorResponse) + func (s *CommandGetListPostOK) UnmarshalJSON(data []byte) error + func (s CommandGetListPostOK) Encode(e *jx.Encoder) + func (s CommandGetListPostOK) GetCommandListResponse() (v CommandListResponse, ok bool) + func (s CommandGetListPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s CommandGetListPostOK) IsCommandListResponse() bool + func (s CommandGetListPostOK) IsErrorResponse() bool + func (s CommandGetListPostOK) MarshalJSON() ([]byte, error) + func (s CommandGetListPostOK) Validate() error + type CommandGetListPostOKType string + const CommandListResponseCommandGetListPostOK + const ErrorResponseCommandGetListPostOK + type CommandInvoker interface + CommandGetListPost func(ctx context.Context) (CommandGetListPostOK, error) + CommandUpdatePost func(ctx context.Context, request *CommandListRequest) (CommandUpdatePostOK, error) + type CommandList []Command + func (s *CommandList) Decode(d *jx.Decoder) error + func (s *CommandList) UnmarshalJSON(data []byte) error + func (s CommandList) Encode(e *jx.Encoder) + func (s CommandList) MarshalJSON() ([]byte, error) + func (s CommandList) Validate() error + type CommandListRequest struct + CommandList CommandList + func (s *CommandListRequest) Decode(d *jx.Decoder) error + func (s *CommandListRequest) Encode(e *jx.Encoder) + func (s *CommandListRequest) GetCommandList() CommandList + func (s *CommandListRequest) MarshalJSON() ([]byte, error) + func (s *CommandListRequest) SetCommandList(val CommandList) + func (s *CommandListRequest) UnmarshalJSON(data []byte) error + func (s *CommandListRequest) Validate() error + type CommandListResponse struct + Response CommandListResponseResponse + Status ResponseStatus + func (s *CommandListResponse) Decode(d *jx.Decoder) error + func (s *CommandListResponse) Encode(e *jx.Encoder) + func (s *CommandListResponse) GetResponse() CommandListResponseResponse + func (s *CommandListResponse) GetStatus() ResponseStatus + func (s *CommandListResponse) MarshalJSON() ([]byte, error) + func (s *CommandListResponse) SetResponse(val CommandListResponseResponse) + func (s *CommandListResponse) SetStatus(val ResponseStatus) + func (s *CommandListResponse) UnmarshalJSON(data []byte) error + func (s *CommandListResponse) Validate() error + type CommandListResponseResponse struct + CommandList CommandList + func (s *CommandListResponseResponse) Decode(d *jx.Decoder) error + func (s *CommandListResponseResponse) Encode(e *jx.Encoder) + func (s *CommandListResponseResponse) GetCommandList() CommandList + func (s *CommandListResponseResponse) MarshalJSON() ([]byte, error) + func (s *CommandListResponseResponse) SetCommandList(val CommandList) + func (s *CommandListResponseResponse) UnmarshalJSON(data []byte) error + func (s *CommandListResponseResponse) Validate() error + type CommandPostNoContent struct + type CommandPostRes interface + type CommandUpdatePostOK struct + EmptyResponse EmptyResponse + ErrorResponse ErrorResponse + Type CommandUpdatePostOKType + func NewEmptyResponseCommandUpdatePostOK(v EmptyResponse) CommandUpdatePostOK + func NewErrorResponseCommandUpdatePostOK(v ErrorResponse) CommandUpdatePostOK + func (s *CommandUpdatePostOK) Decode(d *jx.Decoder) error + func (s *CommandUpdatePostOK) SetEmptyResponse(v EmptyResponse) + func (s *CommandUpdatePostOK) SetErrorResponse(v ErrorResponse) + func (s *CommandUpdatePostOK) UnmarshalJSON(data []byte) error + func (s CommandUpdatePostOK) Encode(e *jx.Encoder) + func (s CommandUpdatePostOK) GetEmptyResponse() (v EmptyResponse, ok bool) + func (s CommandUpdatePostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s CommandUpdatePostOK) IsEmptyResponse() bool + func (s CommandUpdatePostOK) IsErrorResponse() bool + func (s CommandUpdatePostOK) MarshalJSON() ([]byte, error) + func (s CommandUpdatePostOK) Validate() error + type CommandUpdatePostOKType string + const EmptyResponseCommandUpdatePostOK + const ErrorResponseCommandUpdatePostOK + type EmptyResponse struct + Status ResponseStatus + func (s *EmptyResponse) Decode(d *jx.Decoder) error + func (s *EmptyResponse) Encode(e *jx.Encoder) + func (s *EmptyResponse) GetStatus() ResponseStatus + func (s *EmptyResponse) MarshalJSON() ([]byte, error) + func (s *EmptyResponse) SetStatus(val ResponseStatus) + func (s *EmptyResponse) UnmarshalJSON(data []byte) error + func (s *EmptyResponse) Validate() error + type ErrorHandler = ogenerrors.ErrorHandler + type ErrorResponse struct + Response ErrorResponseResponse + Status ResponseStatus + func (s *ErrorResponse) Decode(d *jx.Decoder) error + func (s *ErrorResponse) Encode(e *jx.Encoder) + func (s *ErrorResponse) GetResponse() ErrorResponseResponse + func (s *ErrorResponse) GetStatus() ResponseStatus + func (s *ErrorResponse) MarshalJSON() ([]byte, error) + func (s *ErrorResponse) SetResponse(val ErrorResponseResponse) + func (s *ErrorResponse) SetStatus(val ResponseStatus) + func (s *ErrorResponse) UnmarshalJSON(data []byte) error + func (s *ErrorResponse) Validate() error + type ErrorResponseResponse struct + ErrorCode ErrorResponseResponseErrorCode + Message OptString + func (s *ErrorResponseResponse) Decode(d *jx.Decoder) error + func (s *ErrorResponseResponse) Encode(e *jx.Encoder) + func (s *ErrorResponseResponse) GetErrorCode() ErrorResponseResponseErrorCode + func (s *ErrorResponseResponse) GetMessage() OptString + func (s *ErrorResponseResponse) MarshalJSON() ([]byte, error) + func (s *ErrorResponseResponse) SetErrorCode(val ErrorResponseResponseErrorCode) + func (s *ErrorResponseResponse) SetMessage(val OptString) + func (s *ErrorResponseResponse) UnmarshalJSON(data []byte) error + func (s *ErrorResponseResponse) Validate() error + type ErrorResponseResponseErrorCode int + const ErrorResponseResponseErrorCode1 + const ErrorResponseResponseErrorCode1000 + const ErrorResponseResponseErrorCode1001 + const ErrorResponseResponseErrorCode1002 + const ErrorResponseResponseErrorCode1003 + const ErrorResponseResponseErrorCode1004 + const ErrorResponseResponseErrorCode1005 + const ErrorResponseResponseErrorCode1006 + const ErrorResponseResponseErrorCode1007 + const ErrorResponseResponseErrorCode1008 + const ErrorResponseResponseErrorCode1009 + const ErrorResponseResponseErrorCode1010 + const ErrorResponseResponseErrorCode1011 + const ErrorResponseResponseErrorCode2 + const ErrorResponseResponseErrorCode3 + const ErrorResponseResponseErrorCode5 + const ErrorResponseResponseErrorCode6 + const ErrorResponseResponseErrorCode8 + const ErrorResponseResponseErrorCode9 + func (ErrorResponseResponseErrorCode) AllValues() []ErrorResponseResponseErrorCode + func (s *ErrorResponseResponseErrorCode) Decode(d *jx.Decoder) error + func (s *ErrorResponseResponseErrorCode) UnmarshalJSON(data []byte) error + func (s ErrorResponseResponseErrorCode) Encode(e *jx.Encoder) + func (s ErrorResponseResponseErrorCode) MarshalJSON() ([]byte, error) + func (s ErrorResponseResponseErrorCode) Validate() error + type FileGetURLResponse struct + Response FileGetURLResponseResponse + Status ResponseStatus + func (s *FileGetURLResponse) Decode(d *jx.Decoder) error + func (s *FileGetURLResponse) Encode(e *jx.Encoder) + func (s *FileGetURLResponse) GetResponse() FileGetURLResponseResponse + func (s *FileGetURLResponse) GetStatus() ResponseStatus + func (s *FileGetURLResponse) MarshalJSON() ([]byte, error) + func (s *FileGetURLResponse) SetResponse(val FileGetURLResponseResponse) + func (s *FileGetURLResponse) SetStatus(val ResponseStatus) + func (s *FileGetURLResponse) UnmarshalJSON(data []byte) error + func (s *FileGetURLResponse) Validate() error + type FileGetURLResponseResponse struct + FileToken string + NodeURL url.URL + func (s *FileGetURLResponseResponse) Decode(d *jx.Decoder) error + func (s *FileGetURLResponseResponse) Encode(e *jx.Encoder) + func (s *FileGetURLResponseResponse) GetFileToken() string + func (s *FileGetURLResponseResponse) GetNodeURL() url.URL + func (s *FileGetURLResponseResponse) MarshalJSON() ([]byte, error) + func (s *FileGetURLResponseResponse) SetFileToken(val string) + func (s *FileGetURLResponseResponse) SetNodeURL(val url.URL) + func (s *FileGetURLResponseResponse) UnmarshalJSON(data []byte) error + type FileGetUrlPostOK struct + ErrorResponse ErrorResponse + FileGetURLResponse FileGetURLResponse + Type FileGetUrlPostOKType + func NewErrorResponseFileGetUrlPostOK(v ErrorResponse) FileGetUrlPostOK + func NewFileGetURLResponseFileGetUrlPostOK(v FileGetURLResponse) FileGetUrlPostOK + func (s *FileGetUrlPostOK) Decode(d *jx.Decoder) error + func (s *FileGetUrlPostOK) SetErrorResponse(v ErrorResponse) + func (s *FileGetUrlPostOK) SetFileGetURLResponse(v FileGetURLResponse) + func (s *FileGetUrlPostOK) UnmarshalJSON(data []byte) error + func (s FileGetUrlPostOK) Encode(e *jx.Encoder) + func (s FileGetUrlPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s FileGetUrlPostOK) GetFileGetURLResponse() (v FileGetURLResponse, ok bool) + func (s FileGetUrlPostOK) IsErrorResponse() bool + func (s FileGetUrlPostOK) IsFileGetURLResponse() bool + func (s FileGetUrlPostOK) MarshalJSON() ([]byte, error) + func (s FileGetUrlPostOK) Validate() error + type FileGetUrlPostOKType string + const ErrorResponseFileGetUrlPostOK + const FileGetURLResponseFileGetUrlPostOK + type FileInvoker interface + FileGetUrlPost func(ctx context.Context) (FileGetUrlPostOK, error) + Post func(ctx context.Context, request *PostReq) (PostOK, error) + type FileUploadResponse struct + Response FileUploadResponseResponse + Status ResponseStatus + func (s *FileUploadResponse) Decode(d *jx.Decoder) error + func (s *FileUploadResponse) Encode(e *jx.Encoder) + func (s *FileUploadResponse) GetResponse() FileUploadResponseResponse + func (s *FileUploadResponse) GetStatus() ResponseStatus + func (s *FileUploadResponse) MarshalJSON() ([]byte, error) + func (s *FileUploadResponse) SetResponse(val FileUploadResponseResponse) + func (s *FileUploadResponse) SetStatus(val ResponseStatus) + func (s *FileUploadResponse) UnmarshalJSON(data []byte) error + func (s *FileUploadResponse) Validate() error + type FileUploadResponseResponse struct + FileID string + func (s *FileUploadResponseResponse) Decode(d *jx.Decoder) error + func (s *FileUploadResponseResponse) Encode(e *jx.Encoder) + func (s *FileUploadResponseResponse) GetFileID() string + func (s *FileUploadResponseResponse) MarshalJSON() ([]byte, error) + func (s *FileUploadResponseResponse) SetFileID(val string) + func (s *FileUploadResponseResponse) UnmarshalJSON(data []byte) error + type GetListRequest struct + Count OptInt + Offset OptInt + func (s *GetListRequest) Decode(d *jx.Decoder) error + func (s *GetListRequest) Encode(e *jx.Encoder) + func (s *GetListRequest) GetCount() OptInt + func (s *GetListRequest) GetOffset() OptInt + func (s *GetListRequest) MarshalJSON() ([]byte, error) + func (s *GetListRequest) SetCount(val OptInt) + func (s *GetListRequest) SetOffset(val OptInt) + func (s *GetListRequest) UnmarshalJSON(data []byte) error + func (s *GetListRequest) Validate() error + type GroupGetListPostOK struct + ErrorResponse ErrorResponse + GroupGetListResponse GroupGetListResponse + Type GroupGetListPostOKType + func NewErrorResponseGroupGetListPostOK(v ErrorResponse) GroupGetListPostOK + func NewGroupGetListResponseGroupGetListPostOK(v GroupGetListResponse) GroupGetListPostOK + func (s *GroupGetListPostOK) Decode(d *jx.Decoder) error + func (s *GroupGetListPostOK) SetErrorResponse(v ErrorResponse) + func (s *GroupGetListPostOK) SetGroupGetListResponse(v GroupGetListResponse) + func (s *GroupGetListPostOK) UnmarshalJSON(data []byte) error + func (s GroupGetListPostOK) Encode(e *jx.Encoder) + func (s GroupGetListPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s GroupGetListPostOK) GetGroupGetListResponse() (v GroupGetListResponse, ok bool) + func (s GroupGetListPostOK) IsErrorResponse() bool + func (s GroupGetListPostOK) IsGroupGetListResponse() bool + func (s GroupGetListPostOK) MarshalJSON() ([]byte, error) + func (s GroupGetListPostOK) Validate() error + type GroupGetListPostOKType string + const ErrorResponseGroupGetListPostOK + const GroupGetListResponseGroupGetListPostOK + type GroupGetListResponse struct + Response GroupGetListResponseResponse + Status ResponseStatus + func (s *GroupGetListResponse) Decode(d *jx.Decoder) error + func (s *GroupGetListResponse) Encode(e *jx.Encoder) + func (s *GroupGetListResponse) GetResponse() GroupGetListResponseResponse + func (s *GroupGetListResponse) GetStatus() ResponseStatus + func (s *GroupGetListResponse) MarshalJSON() ([]byte, error) + func (s *GroupGetListResponse) SetResponse(val GroupGetListResponseResponse) + func (s *GroupGetListResponse) SetStatus(val ResponseStatus) + func (s *GroupGetListResponse) UnmarshalJSON(data []byte) error + func (s *GroupGetListResponse) Validate() error + type GroupGetListResponseResponse struct + GroupList []GroupGetListResponseResponseGroupListItem + func (s *GroupGetListResponseResponse) Decode(d *jx.Decoder) error + func (s *GroupGetListResponseResponse) Encode(e *jx.Encoder) + func (s *GroupGetListResponseResponse) GetGroupList() []GroupGetListResponseResponseGroupListItem + func (s *GroupGetListResponseResponse) MarshalJSON() ([]byte, error) + func (s *GroupGetListResponseResponse) SetGroupList(val []GroupGetListResponseResponseGroupListItem) + func (s *GroupGetListResponseResponse) UnmarshalJSON(data []byte) error + func (s *GroupGetListResponseResponse) Validate() error + type GroupGetListResponseResponseGroupListItem struct + AvatarFileURL string + GroupID string + Name string + func (s *GroupGetListResponseResponseGroupListItem) Decode(d *jx.Decoder) error + func (s *GroupGetListResponseResponseGroupListItem) Encode(e *jx.Encoder) + func (s *GroupGetListResponseResponseGroupListItem) GetAvatarFileURL() string + func (s *GroupGetListResponseResponseGroupListItem) GetGroupID() string + func (s *GroupGetListResponseResponseGroupListItem) GetName() string + func (s *GroupGetListResponseResponseGroupListItem) MarshalJSON() ([]byte, error) + func (s *GroupGetListResponseResponseGroupListItem) SetAvatarFileURL(val string) + func (s *GroupGetListResponseResponseGroupListItem) SetGroupID(val string) + func (s *GroupGetListResponseResponseGroupListItem) SetName(val string) + func (s *GroupGetListResponseResponseGroupListItem) UnmarshalJSON(data []byte) error + type GroupInvoker interface + GroupGetListPost func(ctx context.Context, request *GetListRequest) (GroupGetListPostOK, error) + GroupSendPost func(ctx context.Context, request *GroupSendRequest) (GroupSendPostOK, error) + type GroupSendPostOK struct + ErrorResponse ErrorResponse + MessageIDResponse MessageIDResponse + Type GroupSendPostOKType + func NewErrorResponseGroupSendPostOK(v ErrorResponse) GroupSendPostOK + func NewMessageIDResponseGroupSendPostOK(v MessageIDResponse) GroupSendPostOK + func (s *GroupSendPostOK) Decode(d *jx.Decoder) error + func (s *GroupSendPostOK) SetErrorResponse(v ErrorResponse) + func (s *GroupSendPostOK) SetMessageIDResponse(v MessageIDResponse) + func (s *GroupSendPostOK) UnmarshalJSON(data []byte) error + func (s GroupSendPostOK) Encode(e *jx.Encoder) + func (s GroupSendPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s GroupSendPostOK) GetMessageIDResponse() (v MessageIDResponse, ok bool) + func (s GroupSendPostOK) IsErrorResponse() bool + func (s GroupSendPostOK) IsMessageIDResponse() bool + func (s GroupSendPostOK) MarshalJSON() ([]byte, error) + func (s GroupSendPostOK) Validate() error + type GroupSendPostOKType string + const ErrorResponseGroupSendPostOK + const MessageIDResponseGroupSendPostOK + type GroupSendRequest struct + GroupID string + OneOf GroupSendRequestSum + func (s *GroupSendRequest) Decode(d *jx.Decoder) error + func (s *GroupSendRequest) Encode(e *jx.Encoder) + func (s *GroupSendRequest) GetGroupID() string + func (s *GroupSendRequest) GetOneOf() GroupSendRequestSum + func (s *GroupSendRequest) MarshalJSON() ([]byte, error) + func (s *GroupSendRequest) SetGroupID(val string) + func (s *GroupSendRequest) SetOneOf(val GroupSendRequestSum) + func (s *GroupSendRequest) UnmarshalJSON(data []byte) error + func (s *GroupSendRequest) Validate() error + type GroupSendRequestSum struct + MessageFile MessageFile + MessageText MessageText + Type GroupSendRequestSumType + func NewMessageFileGroupSendRequestSum(v MessageFile) GroupSendRequestSum + func NewMessageTextGroupSendRequestSum(v MessageText) GroupSendRequestSum + func (s *GroupSendRequestSum) Decode(d *jx.Decoder) error + func (s *GroupSendRequestSum) SetMessageFile(v MessageFile) + func (s *GroupSendRequestSum) SetMessageText(v MessageText) + func (s *GroupSendRequestSum) UnmarshalJSON(data []byte) error + func (s GroupSendRequestSum) Encode(e *jx.Encoder) + func (s GroupSendRequestSum) GetMessageFile() (v MessageFile, ok bool) + func (s GroupSendRequestSum) GetMessageText() (v MessageText, ok bool) + func (s GroupSendRequestSum) IsMessageFile() bool + func (s GroupSendRequestSum) IsMessageText() bool + func (s GroupSendRequestSum) MarshalJSON() ([]byte, error) + func (s GroupSendRequestSum) Validate() error + type GroupSendRequestSumType string + const MessageFileGroupSendRequestSum + const MessageTextGroupSendRequestSum + type Invoker interface + type Message struct + MessageFile MessageFile + MessageText MessageText + Type MessageType + func NewMessageFileMessage(v MessageFile) Message + func NewMessageTextMessage(v MessageText) Message + func (s *Message) Decode(d *jx.Decoder) error + func (s *Message) SetMessageFile(v MessageFile) + func (s *Message) SetMessageText(v MessageText) + func (s *Message) UnmarshalJSON(data []byte) error + func (s Message) Encode(e *jx.Encoder) + func (s Message) GetMessageFile() (v MessageFile, ok bool) + func (s Message) GetMessageText() (v MessageText, ok bool) + func (s Message) IsMessageFile() bool + func (s Message) IsMessageText() bool + func (s Message) MarshalJSON() ([]byte, error) + func (s Message) Validate() error + type MessageAddReactionPostOK struct + EmptyResponse EmptyResponse + ErrorResponse ErrorResponse + Type MessageAddReactionPostOKType + func NewEmptyResponseMessageAddReactionPostOK(v EmptyResponse) MessageAddReactionPostOK + func NewErrorResponseMessageAddReactionPostOK(v ErrorResponse) MessageAddReactionPostOK + func (s *MessageAddReactionPostOK) Decode(d *jx.Decoder) error + func (s *MessageAddReactionPostOK) SetEmptyResponse(v EmptyResponse) + func (s *MessageAddReactionPostOK) SetErrorResponse(v ErrorResponse) + func (s *MessageAddReactionPostOK) UnmarshalJSON(data []byte) error + func (s MessageAddReactionPostOK) Encode(e *jx.Encoder) + func (s MessageAddReactionPostOK) GetEmptyResponse() (v EmptyResponse, ok bool) + func (s MessageAddReactionPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s MessageAddReactionPostOK) IsEmptyResponse() bool + func (s MessageAddReactionPostOK) IsErrorResponse() bool + func (s MessageAddReactionPostOK) MarshalJSON() ([]byte, error) + func (s MessageAddReactionPostOK) Validate() error + type MessageAddReactionPostOKType string + const EmptyResponseMessageAddReactionPostOK + const ErrorResponseMessageAddReactionPostOK + type MessageAddReactionRequest struct + MessageID string + Reaction Reaction + func (s *MessageAddReactionRequest) Decode(d *jx.Decoder) error + func (s *MessageAddReactionRequest) Encode(e *jx.Encoder) + func (s *MessageAddReactionRequest) GetMessageID() string + func (s *MessageAddReactionRequest) GetReaction() Reaction + func (s *MessageAddReactionRequest) MarshalJSON() ([]byte, error) + func (s *MessageAddReactionRequest) SetMessageID(val string) + func (s *MessageAddReactionRequest) SetReaction(val Reaction) + func (s *MessageAddReactionRequest) UnmarshalJSON(data []byte) error + type MessageFile struct + FileID string + Type MessageKind + func (s *MessageFile) Decode(d *jx.Decoder) error + func (s *MessageFile) Encode(e *jx.Encoder) + func (s *MessageFile) GetFileID() string + func (s *MessageFile) GetType() MessageKind + func (s *MessageFile) MarshalJSON() ([]byte, error) + func (s *MessageFile) SetFileID(val string) + func (s *MessageFile) SetType(val MessageKind) + func (s *MessageFile) UnmarshalJSON(data []byte) error + func (s *MessageFile) Validate() error + type MessageIDResponse struct + Response MessageIDResponseResponse + Status ResponseStatus + func (s *MessageIDResponse) Decode(d *jx.Decoder) error + func (s *MessageIDResponse) Encode(e *jx.Encoder) + func (s *MessageIDResponse) GetResponse() MessageIDResponseResponse + func (s *MessageIDResponse) GetStatus() ResponseStatus + func (s *MessageIDResponse) MarshalJSON() ([]byte, error) + func (s *MessageIDResponse) SetResponse(val MessageIDResponseResponse) + func (s *MessageIDResponse) SetStatus(val ResponseStatus) + func (s *MessageIDResponse) UnmarshalJSON(data []byte) error + func (s *MessageIDResponse) Validate() error + type MessageIDResponseResponse struct + MessageID string + func (s *MessageIDResponseResponse) Decode(d *jx.Decoder) error + func (s *MessageIDResponseResponse) Encode(e *jx.Encoder) + func (s *MessageIDResponseResponse) GetMessageID() string + func (s *MessageIDResponseResponse) MarshalJSON() ([]byte, error) + func (s *MessageIDResponseResponse) SetMessageID(val string) + func (s *MessageIDResponseResponse) UnmarshalJSON(data []byte) error + type MessageInvoker interface + MessageAddReactionPost func(ctx context.Context, request *MessageAddReactionRequest) (MessageAddReactionPostOK, error) + MessageRemoveReactionPost func(ctx context.Context, request *MessageRemoveReactionRequest) (MessageRemoveReactionPostOK, error) + type MessageKind string + const MessageKindFile + const MessageKindText + func (MessageKind) AllValues() []MessageKind + func (s *MessageKind) Decode(d *jx.Decoder) error + func (s *MessageKind) UnmarshalJSON(data []byte) error + func (s *MessageKind) UnmarshalText(data []byte) error + func (s MessageKind) Encode(e *jx.Encoder) + func (s MessageKind) MarshalJSON() ([]byte, error) + func (s MessageKind) MarshalText() ([]byte, error) + func (s MessageKind) Validate() error + type MessageRemoveReactionPostOK struct + EmptyResponse EmptyResponse + ErrorResponse ErrorResponse + Type MessageRemoveReactionPostOKType + func NewEmptyResponseMessageRemoveReactionPostOK(v EmptyResponse) MessageRemoveReactionPostOK + func NewErrorResponseMessageRemoveReactionPostOK(v ErrorResponse) MessageRemoveReactionPostOK + func (s *MessageRemoveReactionPostOK) Decode(d *jx.Decoder) error + func (s *MessageRemoveReactionPostOK) SetEmptyResponse(v EmptyResponse) + func (s *MessageRemoveReactionPostOK) SetErrorResponse(v ErrorResponse) + func (s *MessageRemoveReactionPostOK) UnmarshalJSON(data []byte) error + func (s MessageRemoveReactionPostOK) Encode(e *jx.Encoder) + func (s MessageRemoveReactionPostOK) GetEmptyResponse() (v EmptyResponse, ok bool) + func (s MessageRemoveReactionPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s MessageRemoveReactionPostOK) IsEmptyResponse() bool + func (s MessageRemoveReactionPostOK) IsErrorResponse() bool + func (s MessageRemoveReactionPostOK) MarshalJSON() ([]byte, error) + func (s MessageRemoveReactionPostOK) Validate() error + type MessageRemoveReactionPostOKType string + const EmptyResponseMessageRemoveReactionPostOK + const ErrorResponseMessageRemoveReactionPostOK + type MessageRemoveReactionRequest struct + MessageID string + Reaction Reaction + func (s *MessageRemoveReactionRequest) Decode(d *jx.Decoder) error + func (s *MessageRemoveReactionRequest) Encode(e *jx.Encoder) + func (s *MessageRemoveReactionRequest) GetMessageID() string + func (s *MessageRemoveReactionRequest) GetReaction() Reaction + func (s *MessageRemoveReactionRequest) MarshalJSON() ([]byte, error) + func (s *MessageRemoveReactionRequest) SetMessageID(val string) + func (s *MessageRemoveReactionRequest) SetReaction(val Reaction) + func (s *MessageRemoveReactionRequest) UnmarshalJSON(data []byte) error + type MessageText struct + Text string + Type MessageKind + func (s *MessageText) Decode(d *jx.Decoder) error + func (s *MessageText) Encode(e *jx.Encoder) + func (s *MessageText) GetText() string + func (s *MessageText) GetType() MessageKind + func (s *MessageText) MarshalJSON() ([]byte, error) + func (s *MessageText) SetText(val string) + func (s *MessageText) SetType(val MessageKind) + func (s *MessageText) UnmarshalJSON(data []byte) error + func (s *MessageText) Validate() error + type MessageType string + const MessageFileMessage + const MessageTextMessage + type Middleware = middleware.Middleware + type OnPremiseServer struct + Host string + func (s OnPremiseServer) Build() (string, error) + func (s OnPremiseServer) MustBuild() string + func (s OnPremiseServer) MustPath() string + func (s OnPremiseServer) Path() (string, error) + type OperationName = string + const CommandGetListPostOperation + const CommandPostOperation + const CommandUpdatePostOperation + const FileGetUrlPostOperation + const GroupGetListPostOperation + const GroupSendPostOperation + const MessageAddReactionPostOperation + const MessageRemoveReactionPostOperation + const PostOperation + const ThreadSendPostOperation + const UserGetListPostOperation + const UserSendPostOperation + const WebhookGetVersionPostOperation + const WebhookSetVersionPostOperation + type OptInt struct + Set bool + Value int + func NewOptInt(v int) OptInt + func (o *OptInt) Decode(d *jx.Decoder) error + func (o *OptInt) Reset() + func (o *OptInt) SetTo(v int) + func (o OptInt) Encode(e *jx.Encoder) + func (o OptInt) Get() (v int, ok bool) + func (o OptInt) IsSet() bool + func (o OptInt) Or(d int) int + func (s *OptInt) UnmarshalJSON(data []byte) error + func (s OptInt) MarshalJSON() ([]byte, error) + type OptString struct + Set bool + Value string + func NewOptString(v string) OptString + func (o *OptString) Decode(d *jx.Decoder) error + func (o *OptString) Reset() + func (o *OptString) SetTo(v string) + func (o OptString) Encode(e *jx.Encoder) + func (o OptString) Get() (v string, ok bool) + func (o OptString) IsSet() bool + func (o OptString) Or(d string) string + func (s *OptString) UnmarshalJSON(data []byte) error + func (s OptString) MarshalJSON() ([]byte, error) + type Option interface + type PostOK struct + ErrorResponse ErrorResponse + FileUploadResponse FileUploadResponse + Type PostOKType + func NewErrorResponsePostOK(v ErrorResponse) PostOK + func NewFileUploadResponsePostOK(v FileUploadResponse) PostOK + func (s *PostOK) Decode(d *jx.Decoder) error + func (s *PostOK) SetErrorResponse(v ErrorResponse) + func (s *PostOK) SetFileUploadResponse(v FileUploadResponse) + func (s *PostOK) UnmarshalJSON(data []byte) error + func (s PostOK) Encode(e *jx.Encoder) + func (s PostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s PostOK) GetFileUploadResponse() (v FileUploadResponse, ok bool) + func (s PostOK) IsErrorResponse() bool + func (s PostOK) IsFileUploadResponse() bool + func (s PostOK) MarshalJSON() ([]byte, error) + func (s PostOK) Validate() error + type PostOKType string + const ErrorResponsePostOK + const FileUploadResponsePostOK + type PostReq struct + File ht.MultipartFile + Token string + func (s *PostReq) GetFile() ht.MultipartFile + func (s *PostReq) GetToken() string + func (s *PostReq) SetFile(val ht.MultipartFile) + func (s *PostReq) SetToken(val string) + type Reaction string + func (s *Reaction) Decode(d *jx.Decoder) error + func (s *Reaction) UnmarshalJSON(data []byte) error + func (s Reaction) Encode(e *jx.Encoder) + func (s Reaction) MarshalJSON() ([]byte, error) + type ResponseStatus string + const ResponseStatusError + const ResponseStatusOk + func (ResponseStatus) AllValues() []ResponseStatus + func (s *ResponseStatus) Decode(d *jx.Decoder) error + func (s *ResponseStatus) UnmarshalJSON(data []byte) error + func (s *ResponseStatus) UnmarshalText(data []byte) error + func (s ResponseStatus) Encode(e *jx.Encoder) + func (s ResponseStatus) MarshalJSON() ([]byte, error) + func (s ResponseStatus) MarshalText() ([]byte, error) + func (s ResponseStatus) Validate() error + type SecuritySource interface + AuthToken func(ctx context.Context, operationName OperationName) (AuthToken, error) + type ServerOption interface + func WithErrorHandler(h ErrorHandler) ServerOption + func WithMaxMultipartMemory(max int64) ServerOption + func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption + func WithMiddleware(m ...Middleware) ServerOption + func WithNotFound(notFound http.HandlerFunc) ServerOption + func WithPathPrefix(prefix string) ServerOption + type ThreadInvoker interface + ThreadSendPost func(ctx context.Context, request *ThreadSendRequest) (ThreadSendPostOK, error) + type ThreadSendPostOK struct + ErrorResponse ErrorResponse + MessageIDResponse MessageIDResponse + Type ThreadSendPostOKType + func NewErrorResponseThreadSendPostOK(v ErrorResponse) ThreadSendPostOK + func NewMessageIDResponseThreadSendPostOK(v MessageIDResponse) ThreadSendPostOK + func (s *ThreadSendPostOK) Decode(d *jx.Decoder) error + func (s *ThreadSendPostOK) SetErrorResponse(v ErrorResponse) + func (s *ThreadSendPostOK) SetMessageIDResponse(v MessageIDResponse) + func (s *ThreadSendPostOK) UnmarshalJSON(data []byte) error + func (s ThreadSendPostOK) Encode(e *jx.Encoder) + func (s ThreadSendPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s ThreadSendPostOK) GetMessageIDResponse() (v MessageIDResponse, ok bool) + func (s ThreadSendPostOK) IsErrorResponse() bool + func (s ThreadSendPostOK) IsMessageIDResponse() bool + func (s ThreadSendPostOK) MarshalJSON() ([]byte, error) + func (s ThreadSendPostOK) Validate() error + type ThreadSendPostOKType string + const ErrorResponseThreadSendPostOK + const MessageIDResponseThreadSendPostOK + type ThreadSendRequest struct + MessageID string + OneOf ThreadSendRequestSum + func (s *ThreadSendRequest) Decode(d *jx.Decoder) error + func (s *ThreadSendRequest) Encode(e *jx.Encoder) + func (s *ThreadSendRequest) GetMessageID() string + func (s *ThreadSendRequest) GetOneOf() ThreadSendRequestSum + func (s *ThreadSendRequest) MarshalJSON() ([]byte, error) + func (s *ThreadSendRequest) SetMessageID(val string) + func (s *ThreadSendRequest) SetOneOf(val ThreadSendRequestSum) + func (s *ThreadSendRequest) UnmarshalJSON(data []byte) error + func (s *ThreadSendRequest) Validate() error + type ThreadSendRequestSum struct + MessageFile MessageFile + MessageText MessageText + Type ThreadSendRequestSumType + func NewMessageFileThreadSendRequestSum(v MessageFile) ThreadSendRequestSum + func NewMessageTextThreadSendRequestSum(v MessageText) ThreadSendRequestSum + func (s *ThreadSendRequestSum) Decode(d *jx.Decoder) error + func (s *ThreadSendRequestSum) SetMessageFile(v MessageFile) + func (s *ThreadSendRequestSum) SetMessageText(v MessageText) + func (s *ThreadSendRequestSum) UnmarshalJSON(data []byte) error + func (s ThreadSendRequestSum) Encode(e *jx.Encoder) + func (s ThreadSendRequestSum) GetMessageFile() (v MessageFile, ok bool) + func (s ThreadSendRequestSum) GetMessageText() (v MessageText, ok bool) + func (s ThreadSendRequestSum) IsMessageFile() bool + func (s ThreadSendRequestSum) IsMessageText() bool + func (s ThreadSendRequestSum) MarshalJSON() ([]byte, error) + func (s ThreadSendRequestSum) Validate() error + type ThreadSendRequestSumType string + const MessageFileThreadSendRequestSum + const MessageTextThreadSendRequestSum + type UserGetListPostOK struct + ErrorResponse ErrorResponse + Type UserGetListPostOKType + UserGetListResponse UserGetListResponse + func NewErrorResponseUserGetListPostOK(v ErrorResponse) UserGetListPostOK + func NewUserGetListResponseUserGetListPostOK(v UserGetListResponse) UserGetListPostOK + func (s *UserGetListPostOK) Decode(d *jx.Decoder) error + func (s *UserGetListPostOK) SetErrorResponse(v ErrorResponse) + func (s *UserGetListPostOK) SetUserGetListResponse(v UserGetListResponse) + func (s *UserGetListPostOK) UnmarshalJSON(data []byte) error + func (s UserGetListPostOK) Encode(e *jx.Encoder) + func (s UserGetListPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s UserGetListPostOK) GetUserGetListResponse() (v UserGetListResponse, ok bool) + func (s UserGetListPostOK) IsErrorResponse() bool + func (s UserGetListPostOK) IsUserGetListResponse() bool + func (s UserGetListPostOK) MarshalJSON() ([]byte, error) + func (s UserGetListPostOK) Validate() error + type UserGetListPostOKType string + const ErrorResponseUserGetListPostOK + const UserGetListResponseUserGetListPostOK + type UserGetListResponse struct + Response UserGetListResponseResponse + Status ResponseStatus + func (s *UserGetListResponse) Decode(d *jx.Decoder) error + func (s *UserGetListResponse) Encode(e *jx.Encoder) + func (s *UserGetListResponse) GetResponse() UserGetListResponseResponse + func (s *UserGetListResponse) GetStatus() ResponseStatus + func (s *UserGetListResponse) MarshalJSON() ([]byte, error) + func (s *UserGetListResponse) SetResponse(val UserGetListResponseResponse) + func (s *UserGetListResponse) SetStatus(val ResponseStatus) + func (s *UserGetListResponse) UnmarshalJSON(data []byte) error + func (s *UserGetListResponse) Validate() error + type UserGetListResponseResponse struct + UserList []UserGetListResponseResponseUserListItem + func (s *UserGetListResponseResponse) Decode(d *jx.Decoder) error + func (s *UserGetListResponseResponse) Encode(e *jx.Encoder) + func (s *UserGetListResponseResponse) GetUserList() []UserGetListResponseResponseUserListItem + func (s *UserGetListResponseResponse) MarshalJSON() ([]byte, error) + func (s *UserGetListResponseResponse) SetUserList(val []UserGetListResponseResponseUserListItem) + func (s *UserGetListResponseResponse) UnmarshalJSON(data []byte) error + func (s *UserGetListResponseResponse) Validate() error + type UserGetListResponseResponseUserListItem struct + AvatarFileURL string + UserID int64 + UserName string + func (s *UserGetListResponseResponseUserListItem) Decode(d *jx.Decoder) error + func (s *UserGetListResponseResponseUserListItem) Encode(e *jx.Encoder) + func (s *UserGetListResponseResponseUserListItem) GetAvatarFileURL() string + func (s *UserGetListResponseResponseUserListItem) GetUserID() int64 + func (s *UserGetListResponseResponseUserListItem) GetUserName() string + func (s *UserGetListResponseResponseUserListItem) MarshalJSON() ([]byte, error) + func (s *UserGetListResponseResponseUserListItem) SetAvatarFileURL(val string) + func (s *UserGetListResponseResponseUserListItem) SetUserID(val int64) + func (s *UserGetListResponseResponseUserListItem) SetUserName(val string) + func (s *UserGetListResponseResponseUserListItem) UnmarshalJSON(data []byte) error + type UserInvoker interface + UserGetListPost func(ctx context.Context, request *GetListRequest) (UserGetListPostOK, error) + UserSendPost func(ctx context.Context, request *UserSendRequest) (UserSendPostOK, error) + type UserSendPostOK struct + ErrorResponse ErrorResponse + MessageIDResponse MessageIDResponse + Type UserSendPostOKType + func NewErrorResponseUserSendPostOK(v ErrorResponse) UserSendPostOK + func NewMessageIDResponseUserSendPostOK(v MessageIDResponse) UserSendPostOK + func (s *UserSendPostOK) Decode(d *jx.Decoder) error + func (s *UserSendPostOK) SetErrorResponse(v ErrorResponse) + func (s *UserSendPostOK) SetMessageIDResponse(v MessageIDResponse) + func (s *UserSendPostOK) UnmarshalJSON(data []byte) error + func (s UserSendPostOK) Encode(e *jx.Encoder) + func (s UserSendPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s UserSendPostOK) GetMessageIDResponse() (v MessageIDResponse, ok bool) + func (s UserSendPostOK) IsErrorResponse() bool + func (s UserSendPostOK) IsMessageIDResponse() bool + func (s UserSendPostOK) MarshalJSON() ([]byte, error) + func (s UserSendPostOK) Validate() error + type UserSendPostOKType string + const ErrorResponseUserSendPostOK + const MessageIDResponseUserSendPostOK + type UserSendRequest struct + OneOf UserSendRequestSum + UserID int64 + func (s *UserSendRequest) Decode(d *jx.Decoder) error + func (s *UserSendRequest) Encode(e *jx.Encoder) + func (s *UserSendRequest) GetOneOf() UserSendRequestSum + func (s *UserSendRequest) GetUserID() int64 + func (s *UserSendRequest) MarshalJSON() ([]byte, error) + func (s *UserSendRequest) SetOneOf(val UserSendRequestSum) + func (s *UserSendRequest) SetUserID(val int64) + func (s *UserSendRequest) UnmarshalJSON(data []byte) error + func (s *UserSendRequest) Validate() error + type UserSendRequestSum struct + MessageFile MessageFile + MessageText MessageText + Type UserSendRequestSumType + func NewMessageFileUserSendRequestSum(v MessageFile) UserSendRequestSum + func NewMessageTextUserSendRequestSum(v MessageText) UserSendRequestSum + func (s *UserSendRequestSum) Decode(d *jx.Decoder) error + func (s *UserSendRequestSum) SetMessageFile(v MessageFile) + func (s *UserSendRequestSum) SetMessageText(v MessageText) + func (s *UserSendRequestSum) UnmarshalJSON(data []byte) error + func (s UserSendRequestSum) Encode(e *jx.Encoder) + func (s UserSendRequestSum) GetMessageFile() (v MessageFile, ok bool) + func (s UserSendRequestSum) GetMessageText() (v MessageText, ok bool) + func (s UserSendRequestSum) IsMessageFile() bool + func (s UserSendRequestSum) IsMessageText() bool + func (s UserSendRequestSum) MarshalJSON() ([]byte, error) + func (s UserSendRequestSum) Validate() error + type UserSendRequestSumType string + const MessageFileUserSendRequestSum + const MessageTextUserSendRequestSum + type WebhookBotVersion struct + Version int + func (s *WebhookBotVersion) Decode(d *jx.Decoder) error + func (s *WebhookBotVersion) Encode(e *jx.Encoder) + func (s *WebhookBotVersion) GetVersion() int + func (s *WebhookBotVersion) MarshalJSON() ([]byte, error) + func (s *WebhookBotVersion) SetVersion(val int) + func (s *WebhookBotVersion) UnmarshalJSON(data []byte) error + type WebhookGetVersionPostOK struct + ErrorResponse ErrorResponse + Type WebhookGetVersionPostOKType + WebhookGetVersionResponse WebhookGetVersionResponse + func NewErrorResponseWebhookGetVersionPostOK(v ErrorResponse) WebhookGetVersionPostOK + func NewWebhookGetVersionResponseWebhookGetVersionPostOK(v WebhookGetVersionResponse) WebhookGetVersionPostOK + func (s *WebhookGetVersionPostOK) Decode(d *jx.Decoder) error + func (s *WebhookGetVersionPostOK) SetErrorResponse(v ErrorResponse) + func (s *WebhookGetVersionPostOK) SetWebhookGetVersionResponse(v WebhookGetVersionResponse) + func (s *WebhookGetVersionPostOK) UnmarshalJSON(data []byte) error + func (s WebhookGetVersionPostOK) Encode(e *jx.Encoder) + func (s WebhookGetVersionPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s WebhookGetVersionPostOK) GetWebhookGetVersionResponse() (v WebhookGetVersionResponse, ok bool) + func (s WebhookGetVersionPostOK) IsErrorResponse() bool + func (s WebhookGetVersionPostOK) IsWebhookGetVersionResponse() bool + func (s WebhookGetVersionPostOK) MarshalJSON() ([]byte, error) + func (s WebhookGetVersionPostOK) Validate() error + type WebhookGetVersionPostOKType string + const ErrorResponseWebhookGetVersionPostOK + const WebhookGetVersionResponseWebhookGetVersionPostOK + type WebhookGetVersionResponse struct + Response WebhookBotVersion + Status ResponseStatus + func (s *WebhookGetVersionResponse) Decode(d *jx.Decoder) error + func (s *WebhookGetVersionResponse) Encode(e *jx.Encoder) + func (s *WebhookGetVersionResponse) GetResponse() WebhookBotVersion + func (s *WebhookGetVersionResponse) GetStatus() ResponseStatus + func (s *WebhookGetVersionResponse) MarshalJSON() ([]byte, error) + func (s *WebhookGetVersionResponse) SetResponse(val WebhookBotVersion) + func (s *WebhookGetVersionResponse) SetStatus(val ResponseStatus) + func (s *WebhookGetVersionResponse) UnmarshalJSON(data []byte) error + func (s *WebhookGetVersionResponse) Validate() error + type WebhookHandler interface + CommandPost func(ctx context.Context, req *WebhookRequest) (CommandPostRes, error) + type WebhookInvoker interface + WebhookGetVersionPost func(ctx context.Context) (WebhookGetVersionPostOK, error) + WebhookSetVersionPost func(ctx context.Context, request *WebhookBotVersion) (WebhookSetVersionPostOK, error) + type WebhookRequest struct + GroupID string + MessageID string + Text Command + Type WebhookRequestType + UserID int64 + func (s *WebhookRequest) Decode(d *jx.Decoder) error + func (s *WebhookRequest) Encode(e *jx.Encoder) + func (s *WebhookRequest) GetGroupID() string + func (s *WebhookRequest) GetMessageID() string + func (s *WebhookRequest) GetText() Command + func (s *WebhookRequest) GetType() WebhookRequestType + func (s *WebhookRequest) GetUserID() int64 + func (s *WebhookRequest) MarshalJSON() ([]byte, error) + func (s *WebhookRequest) SetGroupID(val string) + func (s *WebhookRequest) SetMessageID(val string) + func (s *WebhookRequest) SetText(val Command) + func (s *WebhookRequest) SetType(val WebhookRequestType) + func (s *WebhookRequest) SetUserID(val int64) + func (s *WebhookRequest) UnmarshalJSON(data []byte) error + func (s *WebhookRequest) Validate() error + type WebhookRequestType string + const WebhookRequestTypeGroup + const WebhookRequestTypeSingle + func (WebhookRequestType) AllValues() []WebhookRequestType + func (s *WebhookRequestType) Decode(d *jx.Decoder) error + func (s *WebhookRequestType) UnmarshalJSON(data []byte) error + func (s *WebhookRequestType) UnmarshalText(data []byte) error + func (s WebhookRequestType) Encode(e *jx.Encoder) + func (s WebhookRequestType) MarshalJSON() ([]byte, error) + func (s WebhookRequestType) MarshalText() ([]byte, error) + func (s WebhookRequestType) Validate() error + type WebhookResponse struct + Answer WebhookResponseAnswer + func (s *WebhookResponse) Decode(d *jx.Decoder) error + func (s *WebhookResponse) Encode(e *jx.Encoder) + func (s *WebhookResponse) GetAnswer() WebhookResponseAnswer + func (s *WebhookResponse) MarshalJSON() ([]byte, error) + func (s *WebhookResponse) SetAnswer(val WebhookResponseAnswer) + func (s *WebhookResponse) UnmarshalJSON(data []byte) error + func (s *WebhookResponse) Validate() error + type WebhookResponseAnswer struct + Type WebhookResponseAnswerType + WebhookResponseMessageAddReaction WebhookResponseMessageAddReaction + WebhookResponseMessageSend WebhookResponseMessageSend + WebhookResponseThreadSend WebhookResponseThreadSend + func NewWebhookResponseMessageAddReactionWebhookResponseAnswer(v WebhookResponseMessageAddReaction) WebhookResponseAnswer + func NewWebhookResponseMessageSendWebhookResponseAnswer(v WebhookResponseMessageSend) WebhookResponseAnswer + func NewWebhookResponseThreadSendWebhookResponseAnswer(v WebhookResponseThreadSend) WebhookResponseAnswer + func (s *WebhookResponseAnswer) Decode(d *jx.Decoder) error + func (s *WebhookResponseAnswer) SetWebhookResponseMessageAddReaction(v WebhookResponseMessageAddReaction) + func (s *WebhookResponseAnswer) SetWebhookResponseMessageSend(v WebhookResponseMessageSend) + func (s *WebhookResponseAnswer) SetWebhookResponseThreadSend(v WebhookResponseThreadSend) + func (s *WebhookResponseAnswer) UnmarshalJSON(data []byte) error + func (s WebhookResponseAnswer) Encode(e *jx.Encoder) + func (s WebhookResponseAnswer) GetWebhookResponseMessageAddReaction() (v WebhookResponseMessageAddReaction, ok bool) + func (s WebhookResponseAnswer) GetWebhookResponseMessageSend() (v WebhookResponseMessageSend, ok bool) + func (s WebhookResponseAnswer) GetWebhookResponseThreadSend() (v WebhookResponseThreadSend, ok bool) + func (s WebhookResponseAnswer) IsWebhookResponseMessageAddReaction() bool + func (s WebhookResponseAnswer) IsWebhookResponseMessageSend() bool + func (s WebhookResponseAnswer) IsWebhookResponseThreadSend() bool + func (s WebhookResponseAnswer) MarshalJSON() ([]byte, error) + func (s WebhookResponseAnswer) Validate() error + type WebhookResponseAnswerType string + const WebhookResponseMessageAddReactionWebhookResponseAnswer + const WebhookResponseMessageSendWebhookResponseAnswer + const WebhookResponseThreadSendWebhookResponseAnswer + type WebhookResponseMessageAddReaction struct + Action WebhookResponseType + Post WebhookResponseMessageAddReactionPost + func (s *WebhookResponseMessageAddReaction) Decode(d *jx.Decoder) error + func (s *WebhookResponseMessageAddReaction) Encode(e *jx.Encoder) + func (s *WebhookResponseMessageAddReaction) GetAction() WebhookResponseType + func (s *WebhookResponseMessageAddReaction) GetPost() WebhookResponseMessageAddReactionPost + func (s *WebhookResponseMessageAddReaction) MarshalJSON() ([]byte, error) + func (s *WebhookResponseMessageAddReaction) SetAction(val WebhookResponseType) + func (s *WebhookResponseMessageAddReaction) SetPost(val WebhookResponseMessageAddReactionPost) + func (s *WebhookResponseMessageAddReaction) UnmarshalJSON(data []byte) error + func (s *WebhookResponseMessageAddReaction) Validate() error + type WebhookResponseMessageAddReactionPost struct + Reaction Reaction + func (s *WebhookResponseMessageAddReactionPost) Decode(d *jx.Decoder) error + func (s *WebhookResponseMessageAddReactionPost) Encode(e *jx.Encoder) + func (s *WebhookResponseMessageAddReactionPost) GetReaction() Reaction + func (s *WebhookResponseMessageAddReactionPost) MarshalJSON() ([]byte, error) + func (s *WebhookResponseMessageAddReactionPost) SetReaction(val Reaction) + func (s *WebhookResponseMessageAddReactionPost) UnmarshalJSON(data []byte) error + type WebhookResponseMessageSend struct + Action WebhookResponseType + Post Message + func (s *WebhookResponseMessageSend) Decode(d *jx.Decoder) error + func (s *WebhookResponseMessageSend) Encode(e *jx.Encoder) + func (s *WebhookResponseMessageSend) GetAction() WebhookResponseType + func (s *WebhookResponseMessageSend) GetPost() Message + func (s *WebhookResponseMessageSend) MarshalJSON() ([]byte, error) + func (s *WebhookResponseMessageSend) SetAction(val WebhookResponseType) + func (s *WebhookResponseMessageSend) SetPost(val Message) + func (s *WebhookResponseMessageSend) UnmarshalJSON(data []byte) error + func (s *WebhookResponseMessageSend) Validate() error + type WebhookResponseThreadSend struct + Action WebhookResponseType + Post Message + func (s *WebhookResponseThreadSend) Decode(d *jx.Decoder) error + func (s *WebhookResponseThreadSend) Encode(e *jx.Encoder) + func (s *WebhookResponseThreadSend) GetAction() WebhookResponseType + func (s *WebhookResponseThreadSend) GetPost() Message + func (s *WebhookResponseThreadSend) MarshalJSON() ([]byte, error) + func (s *WebhookResponseThreadSend) SetAction(val WebhookResponseType) + func (s *WebhookResponseThreadSend) SetPost(val Message) + func (s *WebhookResponseThreadSend) UnmarshalJSON(data []byte) error + func (s *WebhookResponseThreadSend) Validate() error + type WebhookResponseType string + const WebhookResponseTypeMessageAddreaction + const WebhookResponseTypeMessageSend + const WebhookResponseTypeThreadSend + func (WebhookResponseType) AllValues() []WebhookResponseType + func (s *WebhookResponseType) Decode(d *jx.Decoder) error + func (s *WebhookResponseType) UnmarshalJSON(data []byte) error + func (s *WebhookResponseType) UnmarshalText(data []byte) error + func (s WebhookResponseType) Encode(e *jx.Encoder) + func (s WebhookResponseType) MarshalJSON() ([]byte, error) + func (s WebhookResponseType) MarshalText() ([]byte, error) + func (s WebhookResponseType) Validate() error + type WebhookServer struct + func NewWebhookServer(h WebhookHandler, sec SecuritySource, opts ...ServerOption) (*WebhookServer, error) + func (s *WebhookServer) Handle(webhookName string, w http.ResponseWriter, r *http.Request) bool + func (s *WebhookServer) Handler(webhookName string) http.Handler + type WebhookSetVersionPostOK struct + EmptyResponse EmptyResponse + ErrorResponse ErrorResponse + Type WebhookSetVersionPostOKType + func NewEmptyResponseWebhookSetVersionPostOK(v EmptyResponse) WebhookSetVersionPostOK + func NewErrorResponseWebhookSetVersionPostOK(v ErrorResponse) WebhookSetVersionPostOK + func (s *WebhookSetVersionPostOK) Decode(d *jx.Decoder) error + func (s *WebhookSetVersionPostOK) SetEmptyResponse(v EmptyResponse) + func (s *WebhookSetVersionPostOK) SetErrorResponse(v ErrorResponse) + func (s *WebhookSetVersionPostOK) UnmarshalJSON(data []byte) error + func (s WebhookSetVersionPostOK) Encode(e *jx.Encoder) + func (s WebhookSetVersionPostOK) GetEmptyResponse() (v EmptyResponse, ok bool) + func (s WebhookSetVersionPostOK) GetErrorResponse() (v ErrorResponse, ok bool) + func (s WebhookSetVersionPostOK) IsEmptyResponse() bool + func (s WebhookSetVersionPostOK) IsErrorResponse() bool + func (s WebhookSetVersionPostOK) MarshalJSON() ([]byte, error) + func (s WebhookSetVersionPostOK) Validate() error + type WebhookSetVersionPostOKType string + const EmptyResponseWebhookSetVersionPostOK + const ErrorResponseWebhookSetVersionPostOK