v3.1.0
[3.1.0] - Jul 7, 2021
Breaking changes
In line with the overall update for Chat SDK for Flutter 3.1.0, behavior changes are applied to the following classes. Visit Sendbird Docs for further information.
- The
PreviousMessageListQuery
now requireschannelType
andchannelUrl
.
PreviousMessageListQuery({
required this.channelType,
required this.channelUrl,
});
- The
OperatorListQuery
now requireschannelType
andchannelUrl
.
OperatorListQuery({
required this.channelType,
required this.channelUrl,
});
- The
MessageSearchQuery
now requireskeyword
.
MessageSearchQuery({required this.keyword});
- The
GroupChannelMemberListQuery
now requireschannelUrl
.
GroupChannelMemberListQuery({required this.channelUrl});
- The
UserMessageParams
now requiresmessage
.
UserMessageParams({
required this.message,
})
- The
ScheduledUserMessageParams
now requiresscheduledDateString
,timezone
, andmessage
.
ScheduledUserMessageParams({
required this.scheduledDateString,
required this.timezone,
required String message,
})
- The
MessageRetrievalParams
now requireschannelType
,channelUrl
, andmessageId
.
MessageRetrievalParams({
required this.channelType,
required this.channelUrl,
required this.messageId,
});
- Applied null-safety
- Updated dependencies
- Fixed
mostRepliesUsers
mapping in ThreadInfo - Fixed
connectionStatus
mapping for user/sender/member - Fixed channel object to contain last message when invoking
onMessageReceived
callback - Added HMS for push type
- Added
always_push
parameter for push registeration - Improved stability