UpdateNewChat constructor

const UpdateNewChat({
  1. required Chat chat,
  2. dynamic extra,
  3. int? clientId,
})

A new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the application. The chat field changes will be reported through separate updates

Implementation

const UpdateNewChat({
  required this.chat,
  this.extra,
  this.clientId,
});