Documentation
¶
Index ¶
- type BlacklistResponse
- type BlacklistUserRequest
- type CheckConfirmationCodeRequest
- type CreateBoardRequest
- type CreateMessageRequest
- type CreateMessageResponse
- type CreateThreadRequest
- type CreateThreadResponse
- type GenerateInviteResponse
- type InviteListResponse
- type LastModifiedResponse
- type LoginRequest
- type LoginResponse
- type RecordReferralActionRequest
- type RegisterRequest
- type RegisterWithInviteRequest
- type RegisterWithInviteResponse
- type TogglePinnedThreadResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlacklistResponse ¶
type BlacklistResponse struct {
Users []domain.BlacklistEntry `json:"users"`
Page int `json:"page"`
}
type BlacklistUserRequest ¶
type BlacklistUserRequest struct {
Reason string `json:"reason"`
}
type CreateBoardRequest ¶
type CreateMessageRequest ¶
type CreateMessageResponse ¶
type CreateMessageResponse struct {
Id int64 `json:"id"`
Page int `json:"page"` // Page number where the message appears
}
CreateMessageResponse returns the ID of the created message and its page
type CreateThreadRequest ¶
type CreateThreadRequest struct {
Title string `json:"title" validate:"required"`
IsPinned bool `json:"is_pinned,omitempty"`
OpMessage CreateMessageRequest `json:"op_message"`
}
type CreateThreadResponse ¶ added in v0.1.4
type CreateThreadResponse struct {
ID int64 `json:"id"`
}
type GenerateInviteResponse ¶ added in v0.1.4
type InviteListResponse ¶ added in v0.1.1
type InviteListResponse struct {
Invites []domain.InviteCode `json:"invites"`
Page int `json:"page"`
}
type LastModifiedResponse ¶ added in v0.1.4
type LoginRequest ¶
type LoginResponse ¶
type RecordReferralActionRequest ¶ added in v0.3.2
type RegisterRequest ¶
type RegisterWithInviteRequest ¶ added in v0.1.3
type RegisterWithInviteResponse ¶ added in v0.1.4
type TogglePinnedThreadResponse ¶ added in v0.1.4
type TogglePinnedThreadResponse struct {
IsPinned bool `json:"is_pinned"`
}
Click to show internal directories.
Click to hide internal directories.