Documentation
¶
Index ¶
Constants ¶
View Source
const ( MarkdownMessageSchema = "https://schema.concrnt.world/m/markdown.json" MediaMessageSchema = "https://schema.concrnt.world/m/media.json" ReplyMessageSchema = "https://schema.concrnt.world/m/reply.json" RerouteMessageSchema = "https://schema.concrnt.world/m/reroute.json" LikeAssociationSchema = "https://schema.concrnt.world/a/like.json" MentionAssociationSchema = "https://schema.concrnt.world/a/mention.json" ReplyAssociationSchema = "https://schema.concrnt.world/a/reply.json" RerouteAssociationSchema = "https://schema.concrnt.world/a/reroute.json" ReactionAssociationSchema = "https://schema.concrnt.world/a/reaction.json" ProfileSchema = "https://schema.concrnt.world/p/main.json" )
View Source
const ( UserHomeStream = "world.concrnt.t-home" UserNotifyStream = "world.concrnt.t-notify" UserAssocStream = "world.concrnt.t-assoc" UserApStream = "world.concrnt.t-ap" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommunityTimeline ¶ added in v0.4.5
type LikeAssociation ¶
type LikeAssociation struct {
ProfileOverride *ProfileOverride `json:"profileOverride"`
}
type MarkdownMessage ¶
type MarkdownMessage struct { Body string `json:"body"` Emojis *map[string]Emoji `json:"emojis,omitempty"` ProfileOverride *ProfileOverride `json:"profileOverride,omitempty"` }
type MediaMessage ¶
type MediaMessage struct { Body string `json:"body"` Emojis *map[string]Emoji `json:"emojis,omitempty"` Medias *[]Media `json:"medias,omitempty"` ProfileOverride *ProfileOverride `json:"profileOverride,omitempty"` }
type ProfileOverride ¶
type ReactionAssociation ¶
type ReactionAssociation struct { ImageURL string `json:"imageUrl"` Shortcode string `json:"shortcode"` ProfileOverride *ProfileOverride `json:"profileOverride"` }
type ReplyAssociation ¶
type ReplyAssociation struct { MessageID string `json:"messageId"` MessageAuthor string `json:"messageAuthor"` ProfileOverride *ProfileOverride `json:"profileOverride"` }
type ReplyMessage ¶
type RerouteAssociation ¶
type RerouteAssociation struct { MessageID string `json:"messageId"` MessageAuthor string `json:"messageAuthor"` ProfileOverride *ProfileOverride `json:"profileOverride"` }
type RerouteMessage ¶
type WhisperPolicy ¶
type WhisperPolicy struct {
Participants []string `json:"participants"`
}
Click to show internal directories.
Click to hide internal directories.