Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateChatRequest ¶
type CreateChatRequest struct { UserIDs []string `form:"users,omitempty" json:"users,omitempty"` Label string `form:"label,omitempty" json:"label,omitempty"` }
CreateChatRequest struct for create chat request.
type CreateMessageRequest ¶
type CreateMessageRequest struct { ChatID string `form:"chat,omitempty" json:"chat,omitempty"` UserID string `form:"user,omitempty" json:"user,omitempty"` Body string `form:"body,omitempty" json:"body,omitempty"` }
CreateMessageRequest struct for create message request.
type SearchChatRequest ¶
type SearchChatRequest struct {
UserIDs []string `form:"users,omitempty" json:"users,omitempty"`
}
SearchChatRequest struct for search chat request.
type SearchMessageRequest ¶
type SearchMessageRequest struct { UserID string `form:"user,omitempty" json:"user,omitempty"` ChatID string `form:"chat,omitempty" json:"chat,omitempty"` }
SearchMessageRequest struct for search message request.
type SimpleResponse ¶
type SimpleResponse struct {
Status string
}
SimpleResponse is an response status.
Click to show internal directories.
Click to hide internal directories.