Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParamPostID = "post_id" ParamSortBy = "sort_by" ParamSortOrder = "sort_order" ParamParentID = "parent_id" ParamCreationTime = "creation_time" ParamSubspace = "subspace" ParamCreator = "creator" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddReactionReq ¶
type AddReactionReq struct { BaseReq rest.BaseReq `json:"base_req"` PostID string `json:"post_id"` Reaction string `json:"reaction"` }
AddReactionReq defines the properties of a reaction adding request's body.
type AnswerPollPostReq ¶
type CreatePostReq ¶
type CreatePostReq struct { BaseReq rest.BaseReq `json:"base_req"` Message string `json:"message"` ParentID string `json:"parent_id"` AllowsComments bool `json:"allows_comments"` Subspace string `json:"subspace"` OptionalData types.OptionalData `json:"optional_data"` CreationTime time.Time `json:"creation_time"` Medias types.Attachments `json:"attachments,omitempty"` PollData *types.PollData `json:"poll_data,omitempty"` }
CreatePostReq defines the properties of a post creation request's body.
type RegisterReactionReq ¶
Click to show internal directories.
Click to hide internal directories.