ChatBoostRemoved constructor
const
ChatBoostRemoved({
- @JsonKey(name: 'chat') required Chat chat,
- @JsonKey(name: 'boost_id') required String boostId,
- @JsonKey(name: 'remove_date') required int removeDate,
- 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;