From ca247d8c2ad6060bef8e10e33145e1019fde6241 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Tue, 26 Jan 2021 10:27:35 +0100 Subject: [PATCH] new: [telegram-user] basic telegram user Ref: https://core.telegram.org/constructor/user More could be added in the future --- objects/telegram-account/definition.json | 43 ++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 objects/telegram-account/definition.json diff --git a/objects/telegram-account/definition.json b/objects/telegram-account/definition.json new file mode 100644 index 0000000..30597ad --- /dev/null +++ b/objects/telegram-account/definition.json @@ -0,0 +1,43 @@ +{ + "attributes": { + "phone": { + "description": "Phone associated with the telegram user", + "misp-attribute": "text", + "multiple": true, + "ui-priority": 1 + }, + "first_name": { + "description": "First name", + "misp-attribute": "text", + "ui-priority": 1 + }, + "last_name": { + "description": "Last name", + "misp-attribute": "text", + "ui-priority": 1 + }, + "id": { + "description": "Telegram user identifier", + "misp-attribute": "text", + "ui-priority": 1 + }, + "verified": { + "description": "Verified", + "misp-attribute": "text", + "ui-priority": 1 + }, + "username": { + "description": "Telegram username", + "misp-attribute": "text", + "ui-priority": 1 + } + }, + "description": "Information related to a telegram account", + "meta-category": "misc", + "name": "telegram-account", + "requiredOneOf": [ + "username" + ], + "uuid": "06f02ecf-5afb-42c5-9cb0-b362e222f52c", + "version": 1 +}