fromJson static method
Inherited by: SessionTypeConnectedBot SessionTypeDevice
Implementation
static SessionTypeConnectedBot? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return SessionTypeConnectedBot(
botUserId: (json['bot_user_id'] as int?) ?? 0,
);
}