SendToDeviceUpdatesForSync returns a list of send-to-device updates. It returns the relevant events within the given ranges for the supplied user ID and device ID.
(ctx context.Context, userID, deviceID string, from, to types.StreamPosition)
| 127 | // SendToDeviceUpdatesForSync returns a list of send-to-device updates. It returns the |
| 128 | // relevant events within the given ranges for the supplied user ID and device ID. |
| 129 | SendToDeviceUpdatesForSync(ctx context.Context, userID, deviceID string, from, to types.StreamPosition) (pos types.StreamPosition, events []types.SendToDeviceEvent, err error) |
| 130 | // StoreNewSendForDeviceMessage stores a new send-to-device event for a user's device. |
| 131 | StoreNewSendForDeviceMessage(ctx context.Context, userID, deviceID string, event gomatrixserverlib.SendToDeviceEvent) (types.StreamPosition, error) |
| 132 | // CleanSendToDeviceUpdates removes all send-to-device messages BEFORE the specified |
no outgoing calls