Versions in this module Expand all Collapse all v0 v0.2.4 Jul 6, 2026 Changes in this version type GenerationActionInfo + ReferenceKinds []string + RequiresReference bool v0.2.3 Jul 6, 2026 v0.2.2 Jul 6, 2026 Changes in this version + type StripeAiBillingCheckoutResponse struct + Raw json.RawMessage + URL string + func CreateStripeAiBillingCheckoutSession(backendURL, accessToken, client, uid string) (StripeAiBillingCheckoutResponse, error) + type StripeAiBillingStatusResponse struct + Raw json.RawMessage + Stripe StripeAiBillingStripe + Usage StripeAiBillingUsage + func GetStripeAiBillingStatus(backendURL, accessToken, client, uid string, refresh bool) (StripeAiBillingStatusResponse, error) + type StripeAiBillingStripe struct + AIPaymentMode string + CustomerID string + MeteredLockReason string + MeteredLockedAt string + RefreshedAt string + SubscriptionID string + SubscriptionStatus string + type StripeAiBillingSyncResponse struct + OK bool + Raw json.RawMessage + func SyncStripeAiBillingCheckoutSession(backendURL, accessToken, client, uid, sessionID string) (StripeAiBillingSyncResponse, error) + type StripeAiBillingUsEvent struct + AmountCents int64 + ID int64 + LastError string + OccurredAt string + Status string + StripeInvoiceID string + type StripeAiBillingUsage struct + Events []StripeAiBillingUsEvent + TotalsCentsByStatus map[string]int64 + UnpaidTotalCents int64 + type StripeAiPaymentModeResponse struct + AIPaymentMode string + OK bool + Raw json.RawMessage + func SetStripeAiPaymentMode(backendURL, accessToken, client, uid, mode string) (StripeAiPaymentModeResponse, error) v0.2.1 Jul 4, 2026 Changes in this version type GenerationQuote + PaymentMode string type GenerationResponse + PaymentMode string v0.2.0 Jul 4, 2026 Changes in this version + func ClipLink(backendURL string, accessToken string, client string, uid string, url string, ...) (map[string]interface{}, error) + func DetectFileContentType(filePath string, data []byte) string + func DownloadMedia(mediaURL, backendURL, accessToken, client, uid string) ([]byte, error) + func PrettyJSON(raw []byte) (string, error) + func ResolveFinalURL(rawURL string, fallbackBase string) string + func SafeResponseBody(raw []byte) string + type AIModelRef struct + ActionTagName string + Description string + DescriptionShort string + DisplayName string + HumanName string + ID string + ModelType string + Name string + Provider string + type AIModelsResponse []AIModelRef + func ListAIModels(backendURL, accessToken, client, uid string) (AIModelsResponse, error) + type AIRun struct + ID string + OutputURLs []AIRunOutput + Status string + type AIRunOutput struct + URL string + URLs map[string]string + Variants map[string]string + type Answer struct + AIRuns []AIRun + AnswerImageURL *string + BsvAttachments []BsvAttachment + ChildQuests []ChildQuest + Content string + CreatedAt string + Deleted bool + DisplayContent string + FileURLs []AnswerFileURL + ID string + ImageBsvOrdinal *BsvOrdinal + ImageGenerationFailed bool + ImageGenerationFailureReason *string + ImageURLs []AnswerImageURL + ImagesV2 []AnswerImageV2 + IsClip bool + IsDraft bool + IsGeneratingImage bool + IsPost bool + IsSystem bool + MP4RecordingURL *string + MessageType string + OriginalRecordingType *string + Path string + PollOpen bool + PollOptionsPayload []PollOptionPayload + PollResultsVisible bool + PollTotalVotes int + PollUserVoteOptionID *string + QuestID string + RecordingInfo json.RawMessage + RecordingThumbnailURL *string + RecordingType *string + RecordingURL *string + SpaceID string + URL *URL + UpdatedAt string + User *User + UserID string + VideoBsvOrdinal *BsvOrdinal + func (answer Answer) CanonicalMediaURLs(fallbackBase string) []string + func (answer Answer) GenerationFailureReason() string + func (answer Answer) GenerationStatus() string + func (answer Answer) MediaURLs() []string + func (answer Answer) ToASCII() string + type AnswerFileURL struct + AttachmentID string + ContentType string + ID interface{} + Name string + PreviewURL *string + PreviewURLs map[string]string + URL string + type AnswerImageURL struct + AttachmentID string + ImageByteSize *int64 + ImageContentType string + ImageFilename string + ImageHeight *int + ImageURL string + ImageWidth *int + PreviewURL *string + PreviewURLs map[string]string + type AnswerImageV2 struct + Access string + AttachedAt string + AttachmentID string + BlobCreatedAt string + BlobID string + ImageByteSize *int64 + ImageContentType string + ImageFilename string + ImageHeight *int + ImageWidth *int + PreviewURL *string + URLs map[string]string + type AnswerResponse struct + Answer Answer + Raw json.RawMessage + func GetAnswer(backendURL, answerID, accessToken, client, uid string) (AnswerResponse, error) + type BsvAttachment struct + AttachmentID string + AttachmentURL string + ID string + MimeType string + Size *int64 + type BsvOrdinal struct + AnswerID string + ContentType string + ID string + InscriptionID string + InscriptionNumber *int64 + Origin string + QuestID string + type ChildQuest struct + ID string + ParentID string + Path string + type CreateAnswerRequest struct + ActionRequestsJSON string + AnswerID string + ChildQuestID string + Content string + DeltaJSON string + MessageType string + QuestID string + SpaceID string + Uploads []MultipartFile + UserID string + type CreateAnswerResponse struct + Answer Answer + Quest *Quest + Raw json.RawMessage + SideQuest *Quest + func CreateAnswer(backendURL string, accessToken string, client string, uid string, ...) (CreateAnswerResponse, error) + type CreateClipQuestRequest struct + Content string + DeltaJSON string + Destination map[string]interface{} + File []byte + Image []byte + Title string + URL string + Video []byte + type CreateQuestRequest struct + ActionRequestsJSON string + Content string + DeltaJSON string + MessageType string + ParentAnswerID string + Private *bool + Public *bool + QuestID string + SpaceID string + TeamID string + ThreadType string + Uploads []MultipartFile + type CreateQuestResponse struct + Quest Quest + Raw json.RawMessage + func CreateClipQuest(backendURL string, accessToken string, client string, uid string, ...) (CreateQuestResponse, error) + func CreateQuest(backendURL string, accessToken string, client string, uid string, ...) (CreateQuestResponse, error) + type GenerationActionInfo struct + AcceptsReference bool + Action string + Async bool + DurationMax int + DurationMin int + Inputs []string + Kind string + Provider string + Settings []SettingInfo + SupportsInstrumental bool + Tag string + func ListGenerationActions(backendURL, accessToken, client, uid string) ([]GenerationActionInfo, error) + type GenerationMedia struct + ContentType string + Kind string + URL string + type GenerationQuote struct + Action string + AmountSats int64 + AmountUSD float64 + Provider string + Tag string + type GenerationResponse struct + Action string + AmountSats int64 + AmountUSD float64 + Error string + Failure map[string]interface{} + ID string + MediaOutputs []GenerationMedia + MediaURLs []string + Provider string + Quote *GenerationQuote + Raw []byte + Source string + Status string + Tag string + func CreateGeneration(backendURL string, accessToken string, client string, uid string, ...) (GenerationResponse, error) + func GetGeneration(backendURL, id, accessToken, client, uid string) (GenerationResponse, error) + type MessagesResponse struct + Answers []Answer + Raw json.RawMessage + func GetMessages(backendURL, accessToken, client, uid string, messageIDs []string) (MessagesResponse, error) + type MultipartFile struct + Content []byte + ContentType string + FieldName string + FileName string + type NotificationsCountResponse struct + ClientVersion int + NumNotifications *int + Raw json.RawMessage + func GetNotificationsCount(backendURL string, accessToken string, client string, uid string, ...) (NotificationsCountResponse, error) + type NotificationsResponse struct + PinnedQuest *Quest + Quests []Quest + Raw json.RawMessage + func GetNotifications(backendURL string, accessToken string, client string, uid string, ...) (NotificationsResponse, error) + type PollOptionPayload struct + ID string + Label string + Percentage *float64 + Position int + VotesCount *int + type Quest struct + Content string + ID string + MatchingAnswerIDs []string + NotificationReasonLabel string + Parent *Answer + ParentID string + Path string + QuestURL string + SortedAnswerIDs []string + SortedAnswers []Answer + SpaceID string + UserID string + func (quest Quest) ToASCII() string + type ReferenceUploadResponse struct + ContentType string + Error string + ID string + Kind string + URL string + func UploadReference(backendURL, accessToken, client, uid, filePath string) (ReferenceUploadResponse, error) + type ResolvedMediaLink struct + MediaLink string + RawMediaLink string + func ResolveAnswerMediaLinks(answer Answer, fallbackBase string) []ResolvedMediaLink + type SettingInfo struct + AllowedValues []int + Default interface{} + Description string + Max int + Min int + Name string + Type string + type TagInfo = GenerationActionInfo + func ListGenerationTags(backendURL, accessToken, client, uid string) ([]TagInfo, error) + type TeamRef struct + ID string + Name string + Path string + ShortName string + URL string + type TeamsResponse struct + Raw json.RawMessage + Teams []TeamRef + func ListPublicTeams(backendURL string, accessToken string, client string, uid string, ...) (TeamsResponse, error) + func ListTeams(backendURL string, accessToken string, client string, uid string, ...) (TeamsResponse, error) + type ThreadResponse struct + Quest Quest + Raw json.RawMessage + func GetThread(backendURL, threadID, accessToken, client, uid string) (ThreadResponse, error) + type URL struct + Address string + Title string + type UpvaluedContentLeaderboardItem struct + Answer Answer + AnswerID string + LastUpvalueAt string + Quest Quest + QuestID string + QuestURL string + TotalSats int64 + UpvalueCount int + User User + type UpvaluedContentLeaderboardResponse struct + Items []UpvaluedContentLeaderboardItem + Limit int + Period struct{ ... } + Raw json.RawMessage + func GetUpvaluedContentLeaderboard(backendURL string, accessToken string, client string, uid string, ...) (UpvaluedContentLeaderboardResponse, error) + type User struct + ID string + Name string + Path string