DirectMessagesTopic constructor
const
DirectMessagesTopic({})
Creates a new DirectMessagesTopic object.
Implementation
const factory DirectMessagesTopic({
/// Unique identifier of the topic
@JsonKey(name: 'topic_id') required int topicId,
/// Optional. Information about the user that created the topic.
/// Currently, it is always present according to Telegram documentation.
@JsonKey(name: 'user') User? user,
}) = _DirectMessagesTopic;