toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "chat_id": chatId,
    "actor_user_id": actorUserId,
    "date": date,
    "invite_link": inviteLink?.toJson(),
    "old_chat_member": oldChatMember.toJson(),
    "new_chat_member": newChatMember.toJson(),
  };
}