Merging this will cause the current app to stop working. It causes lots' of breaking changes. But those changes help the client-side to sync all data to the latest. So the conversation list can be always up to date without calling any API.
NewFriendRequest event will directly return the Request object
Refactored event FriendAcceptedEvent, renamed to FriendsChangedEvent. It will be triggered when any of your associated friend requests change, whether you sent it to you, whether it was approved or rejected
The conversation/all API will return the entity of the last message in this conversation and will carry the sender information
Kahla Bot's OnMessage event will now be triggered by new group invitations
Refactored WereDeletedEvent and renamed it to FriendDeletedEvent. The deleted conversation ID will now be returned. And both the trigger person and the deleted person will push.
Added event type GroupJoinedEvent. Triggered when you join a group, it will return a createdConversation, a messageCount, a latestMessage.
Chinese version (Might be easier for native speaker to review):
Merging this will cause the current app to stop working. It causes lots' of breaking changes. But those changes help the client-side to sync all data to the latest. So the conversation list can be always up to date without calling any API.
NewFriendRequest
event will directly return theRequest
objectFriendAcceptedEvent
, renamed toFriendsChangedEvent
. It will be triggered when any of your associated friend requests change, whether you sent it to you, whether it was approved or rejectedconversation/all
API will return the entity of the last message in this conversation and will carry the sender informationOnMessage
event will now be triggered by new group invitationsWereDeletedEvent
and renamed it toFriendDeletedEvent
. The deleted conversation ID will now be returned. And both the trigger person and the deleted person will push.GroupJoinedEvent
. Triggered when you join a group, it will return acreatedConversation
, amessageCount
, alatestMessage
.Chinese version (Might be easier for native speaker to review):