ChatBoostRemoved constructor

const ChatBoostRemoved({
  1. @JsonKey(name: 'chat') required Chat chat,
  2. @JsonKey(name: 'boost_id') required String boostId,
  3. @JsonKey(name: 'remove_date') required int removeDate,
  4. required ChatBoostSource source,
})

Creates a ChatBoostRemoved object.

Implementation

const factory ChatBoostRemoved({
  /// Chat which was boosted
  @JsonKey(name: 'chat') required final Chat chat,

  /// Unique identifier of the boost
  @JsonKey(name: 'boost_id') required final String boostId,

  /// Point in time (Unix timestamp) when the boost was removed
  @JsonKey(name: 'remove_date') required final int removeDate,

  /// Source of the removed boost
  required final ChatBoostSource source,
}) = _ChatBoostRemoved;