{
  "name": "telegram",
  "display_name": "Telegram",
  "description": "Sends data to Telegram",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "telegramApi",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": false,
      "default": "message"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "info",
      "description": "Get information about the bot associated with the access token."
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "get",
      "description": "Get up to date information about a chat"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "answerQuery",
      "description": "Send answer to callback query sent from inline keyboard"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "get",
      "description": "Get a file"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "sendMessage",
      "description": "Delete a chat message"
    },
    {
      "name": "chatId",
      "display_name": "Chat ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier for the target chat or username, To find your chat ID ask @get_id_bot"
    },
    {
      "name": "messageId",
      "display_name": "Message ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier of the message to delete"
    },
    {
      "name": "messageId",
      "display_name": "Message ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier of the message to pin or unpin"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "description": "Whether to send a notification to all chat members about the new pinned message"
    },
    {
      "name": "userId",
      "display_name": "User ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier of the target user"
    },
    {
      "name": "description",
      "display_name": "Description",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "New chat description, 0-255 characters"
    },
    {
      "name": "title",
      "display_name": "Title",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "New chat title, 1-255 characters"
    },
    {
      "name": "queryId",
      "display_name": "Query ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier for the query to be answered"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "The maximum amount of time in seconds that the result of the callback query may be cached client-side"
    },
    {
      "name": "queryId",
      "display_name": "Query ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier for the answered query"
    },
    {
      "name": "results",
      "display_name": "Results",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "A JSON-serialized array of results for the inline query"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "The maximum amount of time in seconds that the result of the callback query may be cached client-side"
    },
    {
      "name": "fileId",
      "display_name": "File ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The ID of the file"
    },
    {
      "name": "download",
      "display_name": "Download",
      "kind": "boolean",
      "required": false,
      "description": "Whether to download the file"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "The MIME type of the file. If not specified, the MIME type will be determined by the file extension."
    },
    {
      "name": "messageType",
      "display_name": "Message Type",
      "kind": "options",
      "required": false,
      "default": "message",
      "description": "The type of the message to edit"
    },
    {
      "name": "chatId",
      "display_name": "Chat ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier for the target chat or username, To find your chat ID ask @get_id_bot"
    },
    {
      "name": "binaryData",
      "display_name": "Binary File",
      "kind": "boolean",
      "required": true,
      "description": "Whether the data to upload should be taken from binary field"
    },
    {
      "name": "binaryPropertyName",
      "display_name": "Input Binary Field",
      "kind": "string",
      "required": true,
      "default": "data",
      "description": "Name of the binary property that contains the data to upload"
    },
    {
      "name": "messageId",
      "display_name": "Message ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier of the message to edit"
    },
    {
      "name": "inlineMessageId",
      "display_name": "Inline Message ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier of the inline message to edit"
    },
    {
      "name": "replyMarkup",
      "display_name": "Reply Markup",
      "kind": "options",
      "required": false,
      "default": "none",
      "description": "Additional interface options"
    },
    {
      "name": "file",
      "display_name": "Animation",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "Animation to send. Pass a file_id to send an animation that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get an animation from the Internet."
    },
    {
      "name": "file",
      "display_name": "Audio",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "Audio file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet."
    },
    {
      "name": "action",
      "display_name": "Action",
      "kind": "options",
      "required": false,
      "default": "typing",
      "description": "Type of action to broadcast. Choose one, depending on what the user is about to receive. The status is set for 5 seconds or less (when a message arrives from your bot)."
    },
    {
      "name": "file",
      "display_name": "Document",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "Document to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet."
    },
    {
      "name": "latitude",
      "display_name": "Latitude",
      "kind": "number",
      "required": false,
      "description": "Location latitude"
    },
    {
      "name": "longitude",
      "display_name": "Longitude",
      "kind": "number",
      "required": false,
      "description": "Location longitude"
    },
    {
      "name": "media",
      "display_name": "Media",
      "kind": "fixedCollection",
      "required": false,
      "default": "photo",
      "description": "The media to add"
    },
    {
      "name": "text",
      "display_name": "Text",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Text of the message to be sent"
    },
    {
      "name": "file",
      "display_name": "Photo",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "Photo to send. Pass a file_id to send a photo that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a photo from the Internet."
    },
    {
      "name": "file",
      "display_name": "Sticker",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "Sticker to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a .webp file from the Internet."
    },
    {
      "name": "file",
      "display_name": "Video",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "Video file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet."
    },
    {
      "name": "replyMarkup",
      "display_name": "Reply Markup",
      "kind": "options",
      "required": false,
      "default": "none",
      "description": "Additional interface options"
    },
    {
      "name": "forceReply",
      "display_name": "Force Reply",
      "kind": "collection",
      "required": false,
      "description": "Whether to show reply interface to the user, as if they manually selected the bot‘s message and tapped ’Reply"
    },
    {
      "name": "inlineKeyboard",
      "display_name": "Inline Keyboard",
      "kind": "fixedCollection",
      "required": false,
      "default": "",
      "description": "Adds an inline keyboard that appears right next to the message it belongs to"
    },
    {
      "name": "replyKeyboard",
      "display_name": "Reply Keyboard",
      "kind": "fixedCollection",
      "required": false,
      "default": "",
      "description": "Adds a custom keyboard with reply options"
    },
    {
      "name": "replyKeyboardOptions",
      "display_name": "Reply Keyboard Options",
      "kind": "collection",
      "required": false,
      "description": "Whether to request clients to resize the keyboard vertically for optimal fit"
    },
    {
      "name": "replyKeyboardRemove",
      "display_name": "Reply Keyboard Remove",
      "kind": "collection",
      "required": false,
      "description": "Whether to request clients to remove the custom keyboard"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Whether to include the phrase “This message was sent automatically with n8n” to the end of the message"
    },
    {
      "name": "chatId",
      "display_name": "Chat ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername). To find your chat ID ask @get_id_bot."
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Telegram/Telegram.node.ts"
}