Versions in this module Expand all Collapse all v0 v0.14.1 Jan 16, 2025 v0.14.0 Dec 18, 2024 Changes in this version + type SyncAPIProducer struct + Config *config.FederationAPI + JetStream nats.JetStreamContext + TopicDeviceListUpdate string + TopicPresenceEvent string + TopicReceiptEvent string + TopicSendToDeviceEvent string + TopicSigningKeyUpdate string + TopicTypingEvent string + UserAPI userapi.FederationUserAPI + func (p *SyncAPIProducer) SendDeviceListUpdate(ctx context.Context, deviceListUpdate spec.RawJSON, origin spec.ServerName) (err error) + func (p *SyncAPIProducer) SendPresence(ctx context.Context, userID string, presence types.Presence, statusMsg *string, ...) error + func (p *SyncAPIProducer) SendReceipt(ctx context.Context, userID, roomID, eventID, receiptType string, ...) error + func (p *SyncAPIProducer) SendSigningKeyUpdate(ctx context.Context, data spec.RawJSON, origin spec.ServerName) (err error) + func (p *SyncAPIProducer) SendToDevice(ctx context.Context, sender, userID, deviceID, eventType string, ...) error + func (p *SyncAPIProducer) SendTyping(ctx context.Context, userID, roomID string, typing bool, timeoutMS int64) error