toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'total_count': totalCount,
'messages': [for (final e in messages) e.toJson()],
'next_offset': nextOffset,
};