chat_ui/src/conversations/bloc/conversations_event library
Classes
- ClearConversationSelection
- Clear all conversation selections
- ConversationsEvent
- Base class for all conversations events Uses Equatable for proper event comparison in BLoC
- DeleteConversation
- Delete conversation action (calls SDK to delete)
- LoadConversations
- Load initial conversations
- LoadMoreConversations
- Load more conversations (pagination)
- RefreshConversations
- Refresh conversations list
- RemoveConversation
- Remove conversation from list without calling SDK Use this for events like group left/kicked where SDK already removed the user
- ResetUnreadCount
- Reset unread count for a conversation Use this when the user reads messages in a conversation
- SetActiveConversation
- Set active conversation (when user opens a chat)
- ToggleConversationSelection
- Toggle conversation selection
- UpdateConversation
- Update a specific conversation with modified data Use this when the SDK or list item callback provides an updated conversation object with changed properties (including custom properties not tracked by the BLoC)