ChatOwnerLeft constructor

const ChatOwnerLeft({
  1. @JsonKey.new(name: 'new_owner') User? newOwner,
})

Creates a ChatOwnerLeft instance

Implementation

const factory ChatOwnerLeft({
  /// Optional. The user which will be the new owner of the chat if the
  /// previous owner does not return to the chat.
  @JsonKey(name: 'new_owner') User? newOwner,
}) = _ChatOwnerLeft;