Documentation ¶
Index ¶
- func ActorExportAccountData(ctx context.Context, c *xrpc.Client) ([]byte, error)
- func ModerationUpdateActorAccess(ctx context.Context, c *xrpc.Client, input *ModerationUpdateActorAccess_Input) error
- type ActorDeclaration
- type ActorDefs_ProfileViewBasic
- type ActorDeleteAccount_Output
- type ConvoDefs_ConvoView
- type ConvoDefs_ConvoView_LastMessage
- type ConvoDefs_DeletedMessageView
- type ConvoDefs_LogBeginConvo
- type ConvoDefs_LogCreateMessage
- type ConvoDefs_LogCreateMessage_Message
- type ConvoDefs_LogDeleteMessage
- type ConvoDefs_LogDeleteMessage_Message
- type ConvoDefs_LogLeaveConvo
- type ConvoDefs_MessageInput
- type ConvoDefs_MessageInput_Embed
- type ConvoDefs_MessageRef
- type ConvoDefs_MessageView
- type ConvoDefs_MessageViewSender
- type ConvoDefs_MessageView_Embed
- type ConvoDeleteMessageForSelf_Input
- type ConvoGetConvoForMembers_Output
- type ConvoGetConvo_Output
- type ConvoGetLog_Output
- type ConvoGetLog_Output_Logs_Elem
- type ConvoGetMessages_Output
- type ConvoGetMessages_Output_Messages_Elem
- type ConvoLeaveConvo_Input
- type ConvoLeaveConvo_Output
- type ConvoListConvos_Output
- type ConvoMuteConvo_Input
- type ConvoMuteConvo_Output
- type ConvoSendMessageBatch_BatchItem
- type ConvoSendMessageBatch_Input
- type ConvoSendMessageBatch_Output
- type ConvoSendMessage_Input
- type ConvoUnmuteConvo_Input
- type ConvoUnmuteConvo_Output
- type ConvoUpdateRead_Input
- type ConvoUpdateRead_Output
- type ModerationGetActorMetadata_Metadata
- type ModerationGetActorMetadata_Output
- type ModerationGetMessageContext_Output
- type ModerationGetMessageContext_Output_Messages_Elem
- type ModerationUpdateActorAccess_Input
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActorExportAccountData ¶
ActorExportAccountData calls the XRPC method "chat.bsky.actor.exportAccountData".
func ModerationUpdateActorAccess ¶
func ModerationUpdateActorAccess(ctx context.Context, c *xrpc.Client, input *ModerationUpdateActorAccess_Input) error
ModerationUpdateActorAccess calls the XRPC method "chat.bsky.moderation.updateActorAccess".
Types ¶
type ActorDeclaration ¶
type ActorDeclaration struct { LexiconTypeID string `json:"$type,const=chat.bsky.actor.declaration" cborgen:"$type,const=chat.bsky.actor.declaration"` AllowIncoming string `json:"allowIncoming" cborgen:"allowIncoming"` }
RECORDTYPE: ActorDeclaration
func (*ActorDeclaration) MarshalCBOR ¶
func (t *ActorDeclaration) MarshalCBOR(w io.Writer) error
func (*ActorDeclaration) UnmarshalCBOR ¶
func (t *ActorDeclaration) UnmarshalCBOR(r io.Reader) (err error)
type ActorDefs_ProfileViewBasic ¶
type ActorDefs_ProfileViewBasic struct { Associated *appbskytypes.ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"` // chatDisabled: Set to true when the actor cannot actively participate in converations ChatDisabled *bool `json:"chatDisabled,omitempty" cborgen:"chatDisabled,omitempty"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` Handle string `json:"handle" cborgen:"handle"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` Viewer *appbskytypes.ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
ActorDefs_ProfileViewBasic is a "profileViewBasic" in the chat.bsky.actor.defs schema.
type ActorDeleteAccount_Output ¶
type ActorDeleteAccount_Output struct { }
ActorDeleteAccount_Output is the output of a chat.bsky.actor.deleteAccount call.
func ActorDeleteAccount ¶
ActorDeleteAccount calls the XRPC method "chat.bsky.actor.deleteAccount".
type ConvoDefs_ConvoView ¶
type ConvoDefs_ConvoView struct { Id string `json:"id" cborgen:"id"` LastMessage *ConvoDefs_ConvoView_LastMessage `json:"lastMessage,omitempty" cborgen:"lastMessage,omitempty"` Members []*ActorDefs_ProfileViewBasic `json:"members" cborgen:"members"` Muted bool `json:"muted" cborgen:"muted"` Rev string `json:"rev" cborgen:"rev"` UnreadCount int64 `json:"unreadCount" cborgen:"unreadCount"` }
ConvoDefs_ConvoView is a "convoView" in the chat.bsky.convo.defs schema.
type ConvoDefs_ConvoView_LastMessage ¶
type ConvoDefs_ConvoView_LastMessage struct { ConvoDefs_MessageView *ConvoDefs_MessageView ConvoDefs_DeletedMessageView *ConvoDefs_DeletedMessageView }
func (*ConvoDefs_ConvoView_LastMessage) MarshalJSON ¶
func (t *ConvoDefs_ConvoView_LastMessage) MarshalJSON() ([]byte, error)
func (*ConvoDefs_ConvoView_LastMessage) UnmarshalJSON ¶
func (t *ConvoDefs_ConvoView_LastMessage) UnmarshalJSON(b []byte) error
type ConvoDefs_DeletedMessageView ¶
type ConvoDefs_DeletedMessageView struct { LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#deletedMessageView" cborgen:"$type,const=chat.bsky.convo.defs#deletedMessageView"` Id string `json:"id" cborgen:"id"` Rev string `json:"rev" cborgen:"rev"` Sender *ConvoDefs_MessageViewSender `json:"sender" cborgen:"sender"` SentAt string `json:"sentAt" cborgen:"sentAt"` }
ConvoDefs_DeletedMessageView is a "deletedMessageView" in the chat.bsky.convo.defs schema.
RECORDTYPE: ConvoDefs_DeletedMessageView
func ConvoDeleteMessageForSelf ¶
func ConvoDeleteMessageForSelf(ctx context.Context, c *xrpc.Client, input *ConvoDeleteMessageForSelf_Input) (*ConvoDefs_DeletedMessageView, error)
ConvoDeleteMessageForSelf calls the XRPC method "chat.bsky.convo.deleteMessageForSelf".
type ConvoDefs_LogBeginConvo ¶
type ConvoDefs_LogBeginConvo struct { LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#logBeginConvo" cborgen:"$type,const=chat.bsky.convo.defs#logBeginConvo"` ConvoId string `json:"convoId" cborgen:"convoId"` Rev string `json:"rev" cborgen:"rev"` }
ConvoDefs_LogBeginConvo is a "logBeginConvo" in the chat.bsky.convo.defs schema.
RECORDTYPE: ConvoDefs_LogBeginConvo
type ConvoDefs_LogCreateMessage ¶
type ConvoDefs_LogCreateMessage struct { LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#logCreateMessage" cborgen:"$type,const=chat.bsky.convo.defs#logCreateMessage"` ConvoId string `json:"convoId" cborgen:"convoId"` Message *ConvoDefs_LogCreateMessage_Message `json:"message" cborgen:"message"` Rev string `json:"rev" cborgen:"rev"` }
ConvoDefs_LogCreateMessage is a "logCreateMessage" in the chat.bsky.convo.defs schema.
RECORDTYPE: ConvoDefs_LogCreateMessage
type ConvoDefs_LogCreateMessage_Message ¶
type ConvoDefs_LogCreateMessage_Message struct { ConvoDefs_MessageView *ConvoDefs_MessageView ConvoDefs_DeletedMessageView *ConvoDefs_DeletedMessageView }
func (*ConvoDefs_LogCreateMessage_Message) MarshalJSON ¶
func (t *ConvoDefs_LogCreateMessage_Message) MarshalJSON() ([]byte, error)
func (*ConvoDefs_LogCreateMessage_Message) UnmarshalJSON ¶
func (t *ConvoDefs_LogCreateMessage_Message) UnmarshalJSON(b []byte) error
type ConvoDefs_LogDeleteMessage ¶
type ConvoDefs_LogDeleteMessage struct { LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#logDeleteMessage" cborgen:"$type,const=chat.bsky.convo.defs#logDeleteMessage"` ConvoId string `json:"convoId" cborgen:"convoId"` Message *ConvoDefs_LogDeleteMessage_Message `json:"message" cborgen:"message"` Rev string `json:"rev" cborgen:"rev"` }
ConvoDefs_LogDeleteMessage is a "logDeleteMessage" in the chat.bsky.convo.defs schema.
RECORDTYPE: ConvoDefs_LogDeleteMessage
type ConvoDefs_LogDeleteMessage_Message ¶
type ConvoDefs_LogDeleteMessage_Message struct { ConvoDefs_MessageView *ConvoDefs_MessageView ConvoDefs_DeletedMessageView *ConvoDefs_DeletedMessageView }
func (*ConvoDefs_LogDeleteMessage_Message) MarshalJSON ¶
func (t *ConvoDefs_LogDeleteMessage_Message) MarshalJSON() ([]byte, error)
func (*ConvoDefs_LogDeleteMessage_Message) UnmarshalJSON ¶
func (t *ConvoDefs_LogDeleteMessage_Message) UnmarshalJSON(b []byte) error
type ConvoDefs_LogLeaveConvo ¶
type ConvoDefs_LogLeaveConvo struct { LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#logLeaveConvo" cborgen:"$type,const=chat.bsky.convo.defs#logLeaveConvo"` ConvoId string `json:"convoId" cborgen:"convoId"` Rev string `json:"rev" cborgen:"rev"` }
ConvoDefs_LogLeaveConvo is a "logLeaveConvo" in the chat.bsky.convo.defs schema.
RECORDTYPE: ConvoDefs_LogLeaveConvo
type ConvoDefs_MessageInput ¶
type ConvoDefs_MessageInput struct { Embed *ConvoDefs_MessageInput_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"` // facets: Annotations of text (mentions, URLs, hashtags, etc) Facets []*appbskytypes.RichtextFacet `json:"facets,omitempty" cborgen:"facets,omitempty"` Text string `json:"text" cborgen:"text"` }
ConvoDefs_MessageInput is the input argument to a chat.bsky.convo.defs call.
type ConvoDefs_MessageInput_Embed ¶
type ConvoDefs_MessageInput_Embed struct {
EmbedRecord *appbskytypes.EmbedRecord
}
func (*ConvoDefs_MessageInput_Embed) MarshalJSON ¶
func (t *ConvoDefs_MessageInput_Embed) MarshalJSON() ([]byte, error)
func (*ConvoDefs_MessageInput_Embed) UnmarshalJSON ¶
func (t *ConvoDefs_MessageInput_Embed) UnmarshalJSON(b []byte) error
type ConvoDefs_MessageRef ¶
type ConvoDefs_MessageRef struct { LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#messageRef" cborgen:"$type,const=chat.bsky.convo.defs#messageRef"` ConvoId string `json:"convoId" cborgen:"convoId"` Did string `json:"did" cborgen:"did"` MessageId string `json:"messageId" cborgen:"messageId"` }
ConvoDefs_MessageRef is a "messageRef" in the chat.bsky.convo.defs schema.
RECORDTYPE: ConvoDefs_MessageRef
type ConvoDefs_MessageView ¶
type ConvoDefs_MessageView struct { LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#messageView" cborgen:"$type,const=chat.bsky.convo.defs#messageView"` Embed *ConvoDefs_MessageView_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"` // facets: Annotations of text (mentions, URLs, hashtags, etc) Facets []*appbskytypes.RichtextFacet `json:"facets,omitempty" cborgen:"facets,omitempty"` Id string `json:"id" cborgen:"id"` Rev string `json:"rev" cborgen:"rev"` Sender *ConvoDefs_MessageViewSender `json:"sender" cborgen:"sender"` SentAt string `json:"sentAt" cborgen:"sentAt"` Text string `json:"text" cborgen:"text"` }
ConvoDefs_MessageView is a "messageView" in the chat.bsky.convo.defs schema.
RECORDTYPE: ConvoDefs_MessageView
func ConvoSendMessage ¶
func ConvoSendMessage(ctx context.Context, c *xrpc.Client, input *ConvoSendMessage_Input) (*ConvoDefs_MessageView, error)
ConvoSendMessage calls the XRPC method "chat.bsky.convo.sendMessage".
type ConvoDefs_MessageViewSender ¶
type ConvoDefs_MessageViewSender struct {
Did string `json:"did" cborgen:"did"`
}
ConvoDefs_MessageViewSender is a "messageViewSender" in the chat.bsky.convo.defs schema.
type ConvoDefs_MessageView_Embed ¶
type ConvoDefs_MessageView_Embed struct {
EmbedRecord_View *appbskytypes.EmbedRecord_View
}
func (*ConvoDefs_MessageView_Embed) MarshalJSON ¶
func (t *ConvoDefs_MessageView_Embed) MarshalJSON() ([]byte, error)
func (*ConvoDefs_MessageView_Embed) UnmarshalJSON ¶
func (t *ConvoDefs_MessageView_Embed) UnmarshalJSON(b []byte) error
type ConvoDeleteMessageForSelf_Input ¶
type ConvoDeleteMessageForSelf_Input struct { ConvoId string `json:"convoId" cborgen:"convoId"` MessageId string `json:"messageId" cborgen:"messageId"` }
ConvoDeleteMessageForSelf_Input is the input argument to a chat.bsky.convo.deleteMessageForSelf call.
type ConvoGetConvoForMembers_Output ¶
type ConvoGetConvoForMembers_Output struct {
Convo *ConvoDefs_ConvoView `json:"convo" cborgen:"convo"`
}
ConvoGetConvoForMembers_Output is the output of a chat.bsky.convo.getConvoForMembers call.
func ConvoGetConvoForMembers ¶
func ConvoGetConvoForMembers(ctx context.Context, c *xrpc.Client, members []string) (*ConvoGetConvoForMembers_Output, error)
ConvoGetConvoForMembers calls the XRPC method "chat.bsky.convo.getConvoForMembers".
type ConvoGetConvo_Output ¶
type ConvoGetConvo_Output struct {
Convo *ConvoDefs_ConvoView `json:"convo" cborgen:"convo"`
}
ConvoGetConvo_Output is the output of a chat.bsky.convo.getConvo call.
func ConvoGetConvo ¶
func ConvoGetConvo(ctx context.Context, c *xrpc.Client, convoId string) (*ConvoGetConvo_Output, error)
ConvoGetConvo calls the XRPC method "chat.bsky.convo.getConvo".
type ConvoGetLog_Output ¶
type ConvoGetLog_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Logs []*ConvoGetLog_Output_Logs_Elem `json:"logs" cborgen:"logs"` }
ConvoGetLog_Output is the output of a chat.bsky.convo.getLog call.
func ConvoGetLog ¶
ConvoGetLog calls the XRPC method "chat.bsky.convo.getLog".
type ConvoGetLog_Output_Logs_Elem ¶
type ConvoGetLog_Output_Logs_Elem struct { ConvoDefs_LogBeginConvo *ConvoDefs_LogBeginConvo ConvoDefs_LogLeaveConvo *ConvoDefs_LogLeaveConvo ConvoDefs_LogCreateMessage *ConvoDefs_LogCreateMessage ConvoDefs_LogDeleteMessage *ConvoDefs_LogDeleteMessage }
func (*ConvoGetLog_Output_Logs_Elem) MarshalJSON ¶
func (t *ConvoGetLog_Output_Logs_Elem) MarshalJSON() ([]byte, error)
func (*ConvoGetLog_Output_Logs_Elem) UnmarshalJSON ¶
func (t *ConvoGetLog_Output_Logs_Elem) UnmarshalJSON(b []byte) error
type ConvoGetMessages_Output ¶
type ConvoGetMessages_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Messages []*ConvoGetMessages_Output_Messages_Elem `json:"messages" cborgen:"messages"` }
ConvoGetMessages_Output is the output of a chat.bsky.convo.getMessages call.
type ConvoGetMessages_Output_Messages_Elem ¶
type ConvoGetMessages_Output_Messages_Elem struct { ConvoDefs_MessageView *ConvoDefs_MessageView ConvoDefs_DeletedMessageView *ConvoDefs_DeletedMessageView }
func (*ConvoGetMessages_Output_Messages_Elem) MarshalJSON ¶
func (t *ConvoGetMessages_Output_Messages_Elem) MarshalJSON() ([]byte, error)
func (*ConvoGetMessages_Output_Messages_Elem) UnmarshalJSON ¶
func (t *ConvoGetMessages_Output_Messages_Elem) UnmarshalJSON(b []byte) error
type ConvoLeaveConvo_Input ¶
type ConvoLeaveConvo_Input struct {
ConvoId string `json:"convoId" cborgen:"convoId"`
}
ConvoLeaveConvo_Input is the input argument to a chat.bsky.convo.leaveConvo call.
type ConvoLeaveConvo_Output ¶
type ConvoLeaveConvo_Output struct { ConvoId string `json:"convoId" cborgen:"convoId"` Rev string `json:"rev" cborgen:"rev"` }
ConvoLeaveConvo_Output is the output of a chat.bsky.convo.leaveConvo call.
func ConvoLeaveConvo ¶
func ConvoLeaveConvo(ctx context.Context, c *xrpc.Client, input *ConvoLeaveConvo_Input) (*ConvoLeaveConvo_Output, error)
ConvoLeaveConvo calls the XRPC method "chat.bsky.convo.leaveConvo".
type ConvoListConvos_Output ¶
type ConvoListConvos_Output struct { Convos []*ConvoDefs_ConvoView `json:"convos" cborgen:"convos"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` }
ConvoListConvos_Output is the output of a chat.bsky.convo.listConvos call.
func ConvoListConvos ¶
func ConvoListConvos(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*ConvoListConvos_Output, error)
ConvoListConvos calls the XRPC method "chat.bsky.convo.listConvos".
type ConvoMuteConvo_Input ¶
type ConvoMuteConvo_Input struct {
ConvoId string `json:"convoId" cborgen:"convoId"`
}
ConvoMuteConvo_Input is the input argument to a chat.bsky.convo.muteConvo call.
type ConvoMuteConvo_Output ¶
type ConvoMuteConvo_Output struct {
Convo *ConvoDefs_ConvoView `json:"convo" cborgen:"convo"`
}
ConvoMuteConvo_Output is the output of a chat.bsky.convo.muteConvo call.
func ConvoMuteConvo ¶
func ConvoMuteConvo(ctx context.Context, c *xrpc.Client, input *ConvoMuteConvo_Input) (*ConvoMuteConvo_Output, error)
ConvoMuteConvo calls the XRPC method "chat.bsky.convo.muteConvo".
type ConvoSendMessageBatch_BatchItem ¶
type ConvoSendMessageBatch_BatchItem struct { ConvoId string `json:"convoId" cborgen:"convoId"` Message *ConvoDefs_MessageInput `json:"message" cborgen:"message"` }
ConvoSendMessageBatch_BatchItem is a "batchItem" in the chat.bsky.convo.sendMessageBatch schema.
type ConvoSendMessageBatch_Input ¶
type ConvoSendMessageBatch_Input struct {
Items []*ConvoSendMessageBatch_BatchItem `json:"items" cborgen:"items"`
}
ConvoSendMessageBatch_Input is the input argument to a chat.bsky.convo.sendMessageBatch call.
type ConvoSendMessageBatch_Output ¶
type ConvoSendMessageBatch_Output struct {
Items []*ConvoDefs_MessageView `json:"items" cborgen:"items"`
}
ConvoSendMessageBatch_Output is the output of a chat.bsky.convo.sendMessageBatch call.
func ConvoSendMessageBatch ¶
func ConvoSendMessageBatch(ctx context.Context, c *xrpc.Client, input *ConvoSendMessageBatch_Input) (*ConvoSendMessageBatch_Output, error)
ConvoSendMessageBatch calls the XRPC method "chat.bsky.convo.sendMessageBatch".
type ConvoSendMessage_Input ¶
type ConvoSendMessage_Input struct { ConvoId string `json:"convoId" cborgen:"convoId"` Message *ConvoDefs_MessageInput `json:"message" cborgen:"message"` }
ConvoSendMessage_Input is the input argument to a chat.bsky.convo.sendMessage call.
type ConvoUnmuteConvo_Input ¶
type ConvoUnmuteConvo_Input struct {
ConvoId string `json:"convoId" cborgen:"convoId"`
}
ConvoUnmuteConvo_Input is the input argument to a chat.bsky.convo.unmuteConvo call.
type ConvoUnmuteConvo_Output ¶
type ConvoUnmuteConvo_Output struct {
Convo *ConvoDefs_ConvoView `json:"convo" cborgen:"convo"`
}
ConvoUnmuteConvo_Output is the output of a chat.bsky.convo.unmuteConvo call.
func ConvoUnmuteConvo ¶
func ConvoUnmuteConvo(ctx context.Context, c *xrpc.Client, input *ConvoUnmuteConvo_Input) (*ConvoUnmuteConvo_Output, error)
ConvoUnmuteConvo calls the XRPC method "chat.bsky.convo.unmuteConvo".
type ConvoUpdateRead_Input ¶
type ConvoUpdateRead_Input struct { ConvoId string `json:"convoId" cborgen:"convoId"` MessageId *string `json:"messageId,omitempty" cborgen:"messageId,omitempty"` }
ConvoUpdateRead_Input is the input argument to a chat.bsky.convo.updateRead call.
type ConvoUpdateRead_Output ¶
type ConvoUpdateRead_Output struct {
Convo *ConvoDefs_ConvoView `json:"convo" cborgen:"convo"`
}
ConvoUpdateRead_Output is the output of a chat.bsky.convo.updateRead call.
func ConvoUpdateRead ¶
func ConvoUpdateRead(ctx context.Context, c *xrpc.Client, input *ConvoUpdateRead_Input) (*ConvoUpdateRead_Output, error)
ConvoUpdateRead calls the XRPC method "chat.bsky.convo.updateRead".
type ModerationGetActorMetadata_Metadata ¶
type ModerationGetActorMetadata_Metadata struct { Convos int64 `json:"convos" cborgen:"convos"` ConvosStarted int64 `json:"convosStarted" cborgen:"convosStarted"` MessagesReceived int64 `json:"messagesReceived" cborgen:"messagesReceived"` MessagesSent int64 `json:"messagesSent" cborgen:"messagesSent"` }
ModerationGetActorMetadata_Metadata is a "metadata" in the chat.bsky.moderation.getActorMetadata schema.
type ModerationGetActorMetadata_Output ¶
type ModerationGetActorMetadata_Output struct { All *ModerationGetActorMetadata_Metadata `json:"all" cborgen:"all"` Day *ModerationGetActorMetadata_Metadata `json:"day" cborgen:"day"` Month *ModerationGetActorMetadata_Metadata `json:"month" cborgen:"month"` }
ModerationGetActorMetadata_Output is the output of a chat.bsky.moderation.getActorMetadata call.
func ModerationGetActorMetadata ¶
func ModerationGetActorMetadata(ctx context.Context, c *xrpc.Client, actor string) (*ModerationGetActorMetadata_Output, error)
ModerationGetActorMetadata calls the XRPC method "chat.bsky.moderation.getActorMetadata".
type ModerationGetMessageContext_Output ¶
type ModerationGetMessageContext_Output struct {
Messages []*ModerationGetMessageContext_Output_Messages_Elem `json:"messages" cborgen:"messages"`
}
ModerationGetMessageContext_Output is the output of a chat.bsky.moderation.getMessageContext call.
func ModerationGetMessageContext ¶
func ModerationGetMessageContext(ctx context.Context, c *xrpc.Client, after int64, before int64, convoId string, messageId string) (*ModerationGetMessageContext_Output, error)
ModerationGetMessageContext calls the XRPC method "chat.bsky.moderation.getMessageContext".
convoId: Conversation that the message is from. NOTE: this field will eventually be required.
type ModerationGetMessageContext_Output_Messages_Elem ¶
type ModerationGetMessageContext_Output_Messages_Elem struct { ConvoDefs_MessageView *ConvoDefs_MessageView ConvoDefs_DeletedMessageView *ConvoDefs_DeletedMessageView }
func (*ModerationGetMessageContext_Output_Messages_Elem) MarshalJSON ¶
func (t *ModerationGetMessageContext_Output_Messages_Elem) MarshalJSON() ([]byte, error)
func (*ModerationGetMessageContext_Output_Messages_Elem) UnmarshalJSON ¶
func (t *ModerationGetMessageContext_Output_Messages_Elem) UnmarshalJSON(b []byte) error
type ModerationUpdateActorAccess_Input ¶
type ModerationUpdateActorAccess_Input struct { Actor string `json:"actor" cborgen:"actor"` AllowAccess bool `json:"allowAccess" cborgen:"allowAccess"` Ref *string `json:"ref,omitempty" cborgen:"ref,omitempty"` }
ModerationUpdateActorAccess_Input is the input argument to a chat.bsky.moderation.updateActorAccess call.
Source Files ¶
- actordeclaration.go
- actordefs.go
- actordeleteAccount.go
- actorexportAccountData.go
- cbor_gen.go
- convodefs.go
- convodeleteMessageForSelf.go
- convogetConvo.go
- convogetConvoForMembers.go
- convogetLog.go
- convogetMessages.go
- convoleaveConvo.go
- convolistConvos.go
- convomuteConvo.go
- convosendMessage.go
- convosendMessageBatch.go
- convounmuteConvo.go
- convoupdateRead.go
- moderationgetActorMetadata.go
- moderationgetMessageContext.go
- moderationupdateActorAccess.go