ChatLocation constructor

const ChatLocation({
  1. @JsonKey(name: 'location') required Location location,
  2. @JsonKey(name: 'address') required String address,
})

Creates a new ChatLocation object.

Implementation

const factory ChatLocation({
  /// The location to which the supergroup is connected.
  @JsonKey(name: 'location') required Location location,

  /// Location address; 1-64 characters, as defined by the chat owner
  @JsonKey(name: 'address') required String address,
}) = _ChatLocation;