UpdateChatLastMessage constructor

const UpdateChatLastMessage({
  1. required int chatId,
  2. Message? lastMessage,
  3. required List<ChatPosition> positions,
  4. dynamic extra,
  5. int? clientId,
})

The last message of a chat was changed. If last_message is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case

Implementation

const UpdateChatLastMessage({
  required this.chatId,
  this.lastMessage,
  required this.positions,
  this.extra,
  this.clientId,
});