Releases: sendbird/sendbird-chat-sdk-android
v4.2.1
Improvements
- Fixed possible ANR in
SendbirdChat.init()
v4.2.0
Features
Pinned Message 📌
Pinned Message is released. You can now maintain a special set of messages (up to 10 per channel) that you want everyone in the channel to share. It can be anything from announcements, surveys, upcoming events, and any many more. Pin your messages and never miss them!
Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications:point_down:
Specification
- Pin when sending a message
UserMessageCreateParams.isPinnedMessage: Boolean = false
FileMessageCreateParams.isPinnedMessage: Boolean = false
- Pin existing message
GroupChannel.pinMessage(Long, CompletionHandler?)
- Unpin a message
GroupChannel.unpinMessage(Long, CompletionHandler?)
- Pinned messages
GroupChannel.lastPinnedMessage: BaseMessage? = null
GroupChannel.pinnedMessageIds: List<Long> = emptyList()
We strongly recommend using Collections (Message, Channel) to implement Pinned Messages as it would automatically take care of numerous events out of the box when messages are created, updated, and deleted.
Improvements
- Fixed
ConcurrentModificationException
fromVersioningCache.toString()
v4.1.3
Improvements
- Added message filtering in
pendingMessages
andfailedMessages
of aMessageCollection
using theMessageListParams
- Removed
isAnonymous
flag from Poll related interfacesPoll.isAnonymous
PollCreateParams.isAnonymous
PollUpdateParams.isAnonymous
- Fixed pending message not being delivered by
MessageCollectionHandler.onMessagesAdded()
when sending a user message on an app built with Proguard on. - Fixed crash when printing
CustomizableMessage.toString()
- Fixed
ConcurrentModificationException
fromOpenChannel.toString()
v4.1.2
Improvements
- Fixed MessageCollectionHandler.onMessagesUpdated() not being fired when sending a FILE message on an app built with Proguard on.
v4.1.1
- Changed constructor of PollData to public.
v4.1.0
Changelog
v4.1.0 (Oct 14, 2022)
Features
Polls
Polls is released 🎉 Here’s where we think it will be really powerful.
- Collect feedback and customer satisfaction
- Drive engagement by receiving participants in preferences
- Run surveys and quiz shows
- And many more!
Scheduled messages
Scheduled messages is released 🎊 Here’s where we think it will be really useful.
- Let your users queue their messages for the future
- Set helpful reminders and notifications to nudge certain actions
- And many more!
Improvements
- Fixed a bug where mentioned users are not cleared from a message when updating with an empty
BaseMessageUpdateParams.mentionedUsers
orBaseMessageUpdateParams.mentionedUserIds
- Fixed a
RejectedExecutionException
when receiving an event inConnectionStateManager.onEvent()
- Fixed a crash when
SendbirdChat.connect()
is called with an invalid API/WS hosts
Please note that both Polls and Scheduled Messages are released as beta features. Thus specific parameters and properties may change to improve client’s overall experience.
Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications 👇
Specification
Polls
- Create
Poll.create()
PollCreateParams
UserMessageCreateParams.pollId
- Read
Poll.get()
PollRetrievalParams
SendbirdChat.createPollListQuery()
PollListQueryParams
GroupChannel.createPollListQuery()
UserMessage.poll
- Update
GroupChannel.updatePoll()
PollUpdateParams
GroupChannel.closePoll()
- Delete
GroupChannel.deletePoll()
- Others:
Poll
GroupChannel.getPollChangeLogsSinceTimestamp()
GroupChannel.getPollChangeLogsSinceToken()
PollData
GroupChannelHandler.onPollUpdated()
GroupChannelHandler.onPollDeleted()
Options
- Create
PollCreateParams.optionTexts
GroupChannel.addPollOption()
- Read
PollOption.get()
PollOptionRetrievalParams
SendbirdChat.createPollVoterListQuery()
PollVoterListQueryParams
GroupChannel.createPollVoterListQuery()
- Update
GroupChannel.updatePollOption()
GroupChannel.votePoll()
- Delete
GroupChannel.deletePollOption()
- Others:
PollOption
GroupChannelHandler.onPollVoted()
PollStatus
PollVoteEvent
PollUpdateEvent
CollectionEventSource.EVENT_POLL_UPDATED
CollectionEventSource.EVENT_POLL_VOTED
CollectionEventSource.POLL_CHANGELOG
Scheduled Messages
- Create
GroupChannel.createScheduledUserMessage()
GroupChannel.createScheduledFileMessage()
- Read
ScheduledMessageListQuery
BaseMessage.getScheduledMessage()
ScheduledMessageRetrievalParams
- Update
GroupChannel.updateScheduledUserMessage()
GroupChannel.updateScheduledFileMessage()
- Delete
GroupChannel.cancelScheduledMessage()
- Others
ScheduledInfo
SendingStatus.SCHEDULED
BaseMessage.scheduledInfo
SendbirdChat.getTotalScheduledMessageCount()
TotalScheduledMessageCountParams
v4.0.9
v4.0.9 (Sep 28, 2022)
- Added
nicknameStartsWithFilter
andnicknameExactMatchFilter
inGroupChannelListQueryParams
- Implemented history of channel membership where clients can now track whether users have joined or left the channel (
MemberState.LEFT
for left members of aGroupChannel
) - Improved thread management to reduce total thread count when deleted
v4.0.8
v4.0.8 (�Sep 2, 2022)
- Fixed a bug where
GroupChannelListQuery.next()
fails due to user ID not being properly encoded in the url
v4.0.7
v4.0.7 (Aug 31, 2022)
- Added Boolean switch to remove operator status when leaving channels (
GroupChannel.leave(shouldRemoveOperatorStatus: Boolean = false, handler: CompletionHandler)
) - Added MessageSearchQuery's totalCount and made it public (MessageSearchQuery.totalCount)
v4.0.6
v4.0.6 (�Aug 17, 2022)
- Fixed a bug where
onSessionTokenRequired
is not called immediately after session expires