v4.5.0
v4.5.0 (Mar 3, 2023)
Features
Polls in Open Channel
Polls is now supported in both Open Channels and Group Channels!
Specification
- Added
Poll.serialize() - Added
PollModule.buildPollFromSerializedData() - Added
onPollUpdated,onPollVoted, andonPollDeletedinOpenChannelHandlerParams - Moved following methods from
GroupChanneltoBaseChannel:updatePoll()deletePoll()closePoll()addPollOption()updatePollOption()deletePollOption()votePoll()getPollChangeLogsSinceTimestamp()getPollChangeLogsSinceToken()createPollListQuery()createPollVoterListQuery()
Improvements
- Fixed a bug where
GroupChannelFilterusing nicknames (nicknameContainsFilter,nicknameExactMatchFilter, andnicknameExactMatchFilter) includes current user's nickname when searching from locally cached group channels - Fixed a bug where
BaseMessage.applyThreadInfoUpdateEvent()always returning false - Fixed a bug where
BaseChannel’screateMessageMetaArrayKeys,deleteMessageMetaArrayKeys,addMessageMetaArrayValues, andremoveMessageMetaArrayValuesreturning unexpected result when file message is given