MessagesFeeder
class MessagesFeeder(localDatabase: UserDatabaseBuilder, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)
Debug-only feeder that generates synthetic text messages in a given conversation.
What it does:
Picks up to 5 members of that conversation that:
exist in the
Membertable for this conversation,have at least one valid client in the
Clienttable (is_valid = 1).For those users it generates up to 10k text messages in total (max 5 users × 2000 messages per user).
Generated messages:
content_type = 'TEXT'visibility = 'VISIBLE'status = 'SENT'sender_user_id= one of the 5 selected conversation memberssender_client_id= a real, existingClient.idfor that user (never null)text_body= simple synthetic text
⚠️ This API must never be used in production. It is purely for performance / UX testing.
Constructors
Link copied to clipboard
constructor(localDatabase: UserDatabaseBuilder, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)