UpdateChatPosition constructor

const UpdateChatPosition({
  1. required int chatId,
  2. required ChatPosition position,
  3. dynamic extra,
  4. int? clientId,
})

The position of a chat in a chat list has changed. Instead of this update updateChatLastMessage or updateChatDraftMessage might be sent

Implementation

const UpdateChatPosition({
  required this.chatId,
  required this.position,
  this.extra,
  this.clientId,
});