Converts this object to TDLib JSON.
@override Map<String, dynamic> toJson() => { '@type': CONSTRUCTOR, 'sessions': [for (final e in sessions) e.toJson()], 'inactive_session_ttl_days': inactiveSessionTtlDays, };