{
  "factory": {
    "id": "telegram-connection",
    "type": "entaxy.runtime.connection",
    "parent": "abstract-connection",
    "isAbstract": false,
    "camelOriginComponent": "telegram",
    "label": "cloud,api,chat,telegram",
    "description": "Send and receive messages acting as a Telegram Bot Telegram Bot API.",
    "camelOrigin": "camel-telegram",
    "camelOriginJavaType": "org.apache.camel.component.telegram.TelegramComponent"
  },
  "entaxy.runtime.connection": {},
  "fields": {
    "bridgeErrorHandler": {
      "displayName": "Bridge Error Handler",
      "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
      "label": "consumer",
      "type": "boolean",
      "required": false,
      "hidden": false,
      "defaultValue": false,
      "group": "consumer",
      "##origin": "camel",
      "kind": [
        "property",
        "parameter"
      ],
      "##camelDiff": {
        "old": {
          "javaType": "boolean",
          "deprecated": false
        },
        "new": {
          "javaType": "boolean",
          "deprecated": false
        }
      }
    },
    "lazyStartProducer": {
      "displayName": "Lazy Start Producer",
      "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel\u0027s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
      "label": "producer",
      "type": "boolean",
      "required": false,
      "hidden": false,
      "defaultValue": false,
      "group": "producer",
      "##origin": "camel",
      "kind": [
        "property",
        "parameter"
      ],
      "##camelDiff": {
        "old": {
          "javaType": "boolean",
          "deprecated": false
        },
        "new": {
          "javaType": "boolean",
          "deprecated": false
        }
      }
    },
    "baseUri": {
      "displayName": "Base Uri",
      "description": "Can be used to set an alternative base URI, e.g. when you want to test the component against a mock Telegram API",
      "label": "advanced",
      "type": "string",
      "required": false,
      "hidden": false,
      "defaultValue": "https://api.telegram.org",
      "group": "advanced",
      "##origin": "camel",
      "kind": [
        "property",
        "parameter"
      ],
      "##camelDiff": {
        "old": {
          "javaType": "java.lang.String",
          "deprecated": false
        },
        "new": {
          "javaType": "java.lang.String",
          "deprecated": false,
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration"
        }
      }
    },
    "basicPropertyBinding": {
      "displayName": "Basic Property Binding",
      "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities",
      "label": "advanced",
      "type": "boolean",
      "required": false,
      "hidden": false,
      "defaultValue": false,
      "group": "advanced",
      "##origin": "camel",
      "kind": [
        "property",
        "parameter"
      ],
      "##camelDiff": {
        "old": {
          "javaType": "boolean",
          "deprecated": false
        },
        "new": {
          "javaType": "boolean",
          "deprecated": false
        }
      }
    },
    "client": {
      "displayName": "Client",
      "description": "To use a custom AsyncHttpClient",
      "label": "advanced",
      "type": "object",
      "kind": "property",
      "required": false,
      "hidden": false,
      "group": "advanced",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "org.asynchttpclient.AsyncHttpClient",
        "deprecated": false
      }
    },
    "clientConfig": {
      "displayName": "Client Config",
      "description": "To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.",
      "label": "advanced",
      "type": "object",
      "required": false,
      "hidden": false,
      "group": "advanced",
      "##origin": "camel",
      "kind": [
        "property",
        "parameter"
      ],
      "##camelDiff": {
        "old": {
          "javaType": "org.asynchttpclient.AsyncHttpClientConfig",
          "deprecated": false
        },
        "new": {
          "javaType": "org.asynchttpclient.AsyncHttpClientConfig",
          "deprecated": false
        }
      }
    },
    "authorizationToken": {
      "displayName": "Authorization Token",
      "description": "The default Telegram authorization token to be used when the information is not provided in the endpoints.",
      "label": "security",
      "type": "string",
      "required": false,
      "hidden": true,
      "group": "security",
      "##origin": "camel",
      "kind": [
        "property",
        "parameter"
      ],
      "##camelDiff": {
        "old": {
          "javaType": "java.lang.String",
          "deprecated": false
        },
        "new": {
          "javaType": "java.lang.String",
          "deprecated": false,
          "deprecationNote": "",
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration"
        }
      }
    },
    "type": {
      "displayName": "Type",
      "description": "The endpoint type. Currently, only the \u0027bots\u0027 type is supported.",
      "label": "",
      "type": "string",
      "kind": "path",
      "required": true,
      "hidden": false,
      "group": "common",
      "@TYPEINFO": {
        "type": "enum",
        "values": [
          "bots"
        ]
      },
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.lang.String",
        "deprecated": false,
        "deprecationNote": "",
        "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
        "configurationField": "configuration"
      }
    },
    "limit": {
      "displayName": "Limit",
      "description": "Limit on the number of updates that can be received in a single polling request.",
      "label": "consumer",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": 100,
      "group": "consumer",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.lang.Integer",
        "optionalPrefix": "consumer.",
        "deprecated": false,
        "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
        "configurationField": "configuration"
      }
    },
    "sendEmptyMessageWhenIdle": {
      "displayName": "Send Empty Message When Idle",
      "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.",
      "label": "consumer",
      "type": "boolean",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": false,
      "group": "consumer",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "boolean",
        "deprecated": false
      }
    },
    "timeout": {
      "displayName": "Timeout",
      "description": "Timeout in seconds for long polling. Put 0 for short polling or a bigger number for long polling. Long polling produces shorter response time.",
      "label": "consumer",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": 30,
      "group": "consumer",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.lang.Integer",
        "optionalPrefix": "consumer.",
        "deprecated": false,
        "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
        "configurationField": "configuration"
      }
    },
    "exceptionHandler": {
      "displayName": "Exception Handler",
      "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
      "label": "consumer,advanced",
      "type": "object",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "consumer (advanced)",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "org.apache.camel.spi.ExceptionHandler",
        "optionalPrefix": "consumer.",
        "deprecated": false
      }
    },
    "exchangePattern": {
      "displayName": "Exchange Pattern",
      "description": "Sets the exchange pattern when the consumer creates an exchange.",
      "label": "consumer,advanced",
      "type": "object",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "consumer (advanced)",
      "@TYPEINFO": {
        "type": "enum",
        "values": [
          "InOnly",
          "InOut",
          "InOptionalOut"
        ]
      },
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "org.apache.camel.ExchangePattern",
        "deprecated": false
      }
    },
    "pollStrategy": {
      "displayName": "Poll Strategy",
      "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.",
      "label": "consumer,advanced",
      "type": "object",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "consumer (advanced)",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "org.apache.camel.spi.PollingConsumerPollStrategy",
        "deprecated": false
      }
    },
    "chatId": {
      "displayName": "Chat Id",
      "description": "The identifier of the chat that will receive the produced messages. Chat ids can be first obtained from incoming messages (eg. when a telegram user starts a conversation with a bot, its client sends automatically a \u0027/start\u0027 message containing the chat id). It is an optional parameter, as the chat id can be set dynamically for each outgoing message (using body or headers).",
      "label": "producer",
      "type": "string",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "producer",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.lang.String",
        "deprecated": false,
        "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
        "configurationField": "configuration"
      }
    },
    "bufferSize": {
      "displayName": "Buffer Size",
      "description": "The initial in-memory buffer size used when transferring data between Camel and AHC Client.",
      "label": "advanced",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": 4096,
      "group": "advanced",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "int",
        "deprecated": false
      }
    },
    "synchronous": {
      "displayName": "Synchronous",
      "description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
      "label": "advanced",
      "type": "boolean",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": false,
      "group": "advanced",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "boolean",
        "deprecated": false
      }
    },
    "proxyHost": {
      "displayName": "Proxy Host",
      "description": "HTTP proxy host which could be used when sending out the message.",
      "label": "proxy",
      "type": "string",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "proxy",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.lang.String",
        "deprecated": false,
        "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
        "configurationField": "configuration"
      }
    },
    "proxyPort": {
      "displayName": "Proxy Port",
      "description": "HTTP proxy port which could be used when sending out the message.",
      "label": "proxy",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "proxy",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.lang.Integer",
        "deprecated": false,
        "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
        "configurationField": "configuration"
      }
    },
    "backoffErrorThreshold": {
      "displayName": "Backoff Error Threshold",
      "description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.",
      "label": "consumer,scheduler",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "int",
        "deprecated": false
      }
    },
    "backoffIdleThreshold": {
      "displayName": "Backoff Idle Threshold",
      "description": "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.",
      "label": "consumer,scheduler",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "int",
        "deprecated": false
      }
    },
    "backoffMultiplier": {
      "displayName": "Backoff Multiplier",
      "description": "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.",
      "label": "consumer,scheduler",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "int",
        "deprecated": false
      }
    },
    "delay": {
      "displayName": "Delay",
      "description": "Milliseconds before the next poll.",
      "label": "consumer,scheduler",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": 500,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "long",
        "deprecated": false
      }
    },
    "greedy": {
      "displayName": "Greedy",
      "description": "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.",
      "label": "consumer,scheduler",
      "type": "boolean",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": false,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "boolean",
        "deprecated": false
      }
    },
    "initialDelay": {
      "displayName": "Initial Delay",
      "description": "Milliseconds before the first poll starts.",
      "label": "consumer,scheduler",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": 1000,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "long",
        "deprecated": false
      }
    },
    "repeatCount": {
      "displayName": "Repeat Count",
      "description": "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever.",
      "label": "consumer,scheduler",
      "type": "number",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": 0,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "long",
        "deprecated": false
      }
    },
    "runLoggingLevel": {
      "displayName": "Run Logging Level",
      "description": "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.",
      "label": "consumer,scheduler",
      "type": "object",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": "TRACE",
      "group": "scheduler",
      "@TYPEINFO": {
        "type": "enum",
        "values": [
          "TRACE",
          "DEBUG",
          "INFO",
          "WARN",
          "ERROR",
          "OFF"
        ]
      },
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "org.apache.camel.LoggingLevel",
        "deprecated": false
      }
    },
    "scheduledExecutorService": {
      "displayName": "Scheduled Executor Service",
      "description": "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool.",
      "label": "consumer,scheduler",
      "type": "object",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.util.concurrent.ScheduledExecutorService",
        "deprecated": false
      }
    },
    "scheduler": {
      "displayName": "Scheduler",
      "description": "To use a cron scheduler from either camel-spring or camel-quartz component",
      "label": "consumer,scheduler",
      "type": "string",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": "none",
      "group": "scheduler",
      "@TYPEINFO": {
        "type": "enum",
        "values": [
          "none",
          "spring",
          "quartz"
        ]
      },
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.lang.String",
        "deprecated": false
      }
    },
    "schedulerProperties": {
      "displayName": "Scheduler Properties",
      "description": "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.",
      "label": "consumer,scheduler",
      "type": "object",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.util.Map\u003cjava.lang.String, java.lang.Object\u003e",
        "prefix": "scheduler.",
        "multiValue": true,
        "deprecated": false
      }
    },
    "startScheduler": {
      "displayName": "Start Scheduler",
      "description": "Whether the scheduler should be auto started.",
      "label": "consumer,scheduler",
      "type": "boolean",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": true,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "boolean",
        "deprecated": false
      }
    },
    "timeUnit": {
      "displayName": "Time Unit",
      "description": "Time unit for initialDelay and delay options.",
      "label": "consumer,scheduler",
      "type": "object",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": "MILLISECONDS",
      "group": "scheduler",
      "@TYPEINFO": {
        "type": "enum",
        "values": [
          "NANOSECONDS",
          "MICROSECONDS",
          "MILLISECONDS",
          "SECONDS",
          "MINUTES",
          "HOURS",
          "DAYS"
        ]
      },
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "java.util.concurrent.TimeUnit",
        "deprecated": false
      }
    },
    "useFixedDelay": {
      "displayName": "Use Fixed Delay",
      "description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.",
      "label": "consumer,scheduler",
      "type": "boolean",
      "kind": "parameter",
      "required": false,
      "hidden": false,
      "defaultValue": true,
      "group": "scheduler",
      "##origin": "camel",
      "##camelDiff": {
        "javaType": "boolean",
        "deprecated": false
      }
    }
  },
  "##camel": {
    "settings": {
      "import": {
        "factory": {
          "attributes": {
            "name": [
              "id",
              "camelOriginComponent"
            ],
            "label": {
              "target": "label",
              "replaceIfEmpty": true
            },
            "description": {
              "target": "description",
              "policy": "firstOnly",
              "replaceIfEmpty": true
            },
            "artifactId": "camelOrigin",
            "javaType": "camelOriginJavaType"
          }
        },
        "fileds": {
          "attributes": {
            "displayName": "displayName",
            "description": {
              "target": "description",
              "policy": "firstOnly"
            },
            "label": "label",
            "type": {
              "target": "type",
              "map": {
                "integer": "number"
              }
            },
            "kind": {
              "target": "kind",
              "policy": "both"
            },
            "required": "required",
            "secret": "hidden",
            "defaultValue": {
              "target": "defaultValue",
              "convertTo": "@type"
            },
            "group": "group",
            "enum": {
              "target": "@TYPEINFO/values",
              "targetObject": {
                "@TYPEINFO": {
                  "type": "enum"
                }
              }
            }
          }
        },
        "outputs": {
          "init": {
            "fields": {
              "@IMPORT": [
                {
                  "sourceFactoryId": "#",
                  "location": "fields",
                  "prefix": "camel_",
                  "filter": {
                    "contains": [
                      {
                        "attribute": "kind",
                        "values": [
                          "property"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          },
          "path": {
            "fields": {
              "@IMPORT": [
                {
                  "sourceFactoryId": "#",
                  "location": "fields",
                  "prefix": "camel_",
                  "filter": {
                    "contains": [
                      {
                        "attribute": "kind",
                        "values": [
                          "path"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          },
          "consumer": {
            "fields": {
              "@IMPORT": [
                {
                  "sourceFactoryId": "#",
                  "location": "fields",
                  "prefix": "camel_",
                  "filter": {
                    "contains": [
                      {
                        "attribute": "kind",
                        "values": [
                          "parameter"
                        ]
                      },
                      {
                        "attribute": "label",
                        "inverse": true,
                        "values": [
                          "producer"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          },
          "producer": {
            "fields": {
              "@IMPORT": [
                {
                  "sourceFactoryId": "#",
                  "location": "fields",
                  "prefix": "camel_",
                  "filter": {
                    "contains": [
                      {
                        "attribute": "kind",
                        "values": [
                          "parameter"
                        ]
                      },
                      {
                        "attribute": "label",
                        "inverse": true,
                        "values": [
                          "consumer"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          },
          "__objects": {
            "fields": {
              "@IMPORT": [
                {
                  "sourceFactoryId": "#",
                  "location": "fields",
                  "prefix": "",
                  "filter": {
                    "contains": [
                      {
                        "attribute": "type",
                        "values": [
                          "Object",
                          "object"
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          }
        }
      }
    },
    "origin": {
      "component": {
        "kind": "component",
        "name": "telegram",
        "title": "Telegram",
        "description": "Send and receive messages acting as a Telegram Bot Telegram Bot API.",
        "deprecated": false,
        "firstVersion": "2.18.0",
        "label": "cloud,api,chat",
        "javaType": "org.apache.camel.component.telegram.TelegramComponent",
        "supportLevel": "Stable",
        "groupId": "org.apache.camel",
        "artifactId": "camel-telegram",
        "version": "3.4.5",
        "scheme": "telegram",
        "extendsScheme": "",
        "syntax": "telegram:type",
        "async": false,
        "consumerOnly": false,
        "producerOnly": false,
        "lenientProperties": false
      },
      "componentProperties": {
        "bridgeErrorHandler": {
          "kind": "property",
          "displayName": "Bridge Error Handler",
          "group": "consumer",
          "label": "consumer",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."
        },
        "lazyStartProducer": {
          "kind": "property",
          "displayName": "Lazy Start Producer",
          "group": "producer",
          "label": "producer",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel\u0027s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
        },
        "baseUri": {
          "kind": "property",
          "displayName": "Base Uri",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "string",
          "javaType": "java.lang.String",
          "deprecated": false,
          "secret": false,
          "defaultValue": "https://api.telegram.org",
          "description": "Can be used to set an alternative base URI, e.g. when you want to test the component against a mock Telegram API"
        },
        "basicPropertyBinding": {
          "kind": "property",
          "displayName": "Basic Property Binding",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"
        },
        "client": {
          "kind": "property",
          "displayName": "Client",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "object",
          "javaType": "org.asynchttpclient.AsyncHttpClient",
          "deprecated": false,
          "secret": false,
          "description": "To use a custom AsyncHttpClient"
        },
        "clientConfig": {
          "kind": "property",
          "displayName": "Client Config",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "object",
          "javaType": "org.asynchttpclient.AsyncHttpClientConfig",
          "deprecated": false,
          "secret": false,
          "description": "To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance."
        },
        "authorizationToken": {
          "kind": "property",
          "displayName": "Authorization Token",
          "group": "security",
          "label": "security",
          "required": false,
          "type": "string",
          "javaType": "java.lang.String",
          "deprecated": false,
          "secret": true,
          "description": "The default Telegram authorization token to be used when the information is not provided in the endpoints."
        }
      },
      "properties": {
        "type": {
          "kind": "path",
          "displayName": "Type",
          "group": "common",
          "label": "",
          "required": true,
          "type": "string",
          "javaType": "java.lang.String",
          "enum": [
            "bots"
          ],
          "deprecated": false,
          "deprecationNote": "",
          "secret": false,
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "The endpoint type. Currently, only the \u0027bots\u0027 type is supported."
        },
        "bridgeErrorHandler": {
          "kind": "parameter",
          "displayName": "Bridge Error Handler",
          "group": "consumer",
          "label": "consumer",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."
        },
        "limit": {
          "kind": "parameter",
          "displayName": "Limit",
          "group": "consumer",
          "label": "consumer",
          "required": false,
          "type": "integer",
          "javaType": "java.lang.Integer",
          "optionalPrefix": "consumer.",
          "deprecated": false,
          "secret": false,
          "defaultValue": "100",
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "Limit on the number of updates that can be received in a single polling request."
        },
        "sendEmptyMessageWhenIdle": {
          "kind": "parameter",
          "displayName": "Send Empty Message When Idle",
          "group": "consumer",
          "label": "consumer",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead."
        },
        "timeout": {
          "kind": "parameter",
          "displayName": "Timeout",
          "group": "consumer",
          "label": "consumer",
          "required": false,
          "type": "integer",
          "javaType": "java.lang.Integer",
          "optionalPrefix": "consumer.",
          "deprecated": false,
          "secret": false,
          "defaultValue": "30",
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "Timeout in seconds for long polling. Put 0 for short polling or a bigger number for long polling. Long polling produces shorter response time."
        },
        "exceptionHandler": {
          "kind": "parameter",
          "displayName": "Exception Handler",
          "group": "consumer (advanced)",
          "label": "consumer,advanced",
          "required": false,
          "type": "object",
          "javaType": "org.apache.camel.spi.ExceptionHandler",
          "optionalPrefix": "consumer.",
          "deprecated": false,
          "secret": false,
          "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored."
        },
        "exchangePattern": {
          "kind": "parameter",
          "displayName": "Exchange Pattern",
          "group": "consumer (advanced)",
          "label": "consumer,advanced",
          "required": false,
          "type": "object",
          "javaType": "org.apache.camel.ExchangePattern",
          "enum": [
            "InOnly",
            "InOut",
            "InOptionalOut"
          ],
          "deprecated": false,
          "secret": false,
          "description": "Sets the exchange pattern when the consumer creates an exchange."
        },
        "pollStrategy": {
          "kind": "parameter",
          "displayName": "Poll Strategy",
          "group": "consumer (advanced)",
          "label": "consumer,advanced",
          "required": false,
          "type": "object",
          "javaType": "org.apache.camel.spi.PollingConsumerPollStrategy",
          "deprecated": false,
          "secret": false,
          "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel."
        },
        "chatId": {
          "kind": "parameter",
          "displayName": "Chat Id",
          "group": "producer",
          "label": "producer",
          "required": false,
          "type": "string",
          "javaType": "java.lang.String",
          "deprecated": false,
          "secret": false,
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "The identifier of the chat that will receive the produced messages. Chat ids can be first obtained from incoming messages (eg. when a telegram user starts a conversation with a bot, its client sends automatically a \u0027/start\u0027 message containing the chat id). It is an optional parameter, as the chat id can be set dynamically for each outgoing message (using body or headers)."
        },
        "lazyStartProducer": {
          "kind": "parameter",
          "displayName": "Lazy Start Producer",
          "group": "producer",
          "label": "producer",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel\u0027s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
        },
        "baseUri": {
          "kind": "parameter",
          "displayName": "Base Uri",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "string",
          "javaType": "java.lang.String",
          "deprecated": false,
          "secret": false,
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "Can be used to set an alternative base URI, e.g. when you want to test the component against a mock Telegram API"
        },
        "basicPropertyBinding": {
          "kind": "parameter",
          "displayName": "Basic Property Binding",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"
        },
        "bufferSize": {
          "kind": "parameter",
          "displayName": "Buffer Size",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "integer",
          "javaType": "int",
          "deprecated": false,
          "secret": false,
          "defaultValue": "4096",
          "description": "The initial in-memory buffer size used when transferring data between Camel and AHC Client."
        },
        "clientConfig": {
          "kind": "parameter",
          "displayName": "Client Config",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "object",
          "javaType": "org.asynchttpclient.AsyncHttpClientConfig",
          "deprecated": false,
          "secret": false,
          "description": "To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance."
        },
        "synchronous": {
          "kind": "parameter",
          "displayName": "Synchronous",
          "group": "advanced",
          "label": "advanced",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": "false",
          "description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)."
        },
        "proxyHost": {
          "kind": "parameter",
          "displayName": "Proxy Host",
          "group": "proxy",
          "label": "proxy",
          "required": false,
          "type": "string",
          "javaType": "java.lang.String",
          "deprecated": false,
          "secret": false,
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "HTTP proxy host which could be used when sending out the message."
        },
        "proxyPort": {
          "kind": "parameter",
          "displayName": "Proxy Port",
          "group": "proxy",
          "label": "proxy",
          "required": false,
          "type": "integer",
          "javaType": "java.lang.Integer",
          "deprecated": false,
          "secret": false,
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "HTTP proxy port which could be used when sending out the message."
        },
        "backoffErrorThreshold": {
          "kind": "parameter",
          "displayName": "Backoff Error Threshold",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "integer",
          "javaType": "int",
          "deprecated": false,
          "secret": false,
          "description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in."
        },
        "backoffIdleThreshold": {
          "kind": "parameter",
          "displayName": "Backoff Idle Threshold",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "integer",
          "javaType": "int",
          "deprecated": false,
          "secret": false,
          "description": "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in."
        },
        "backoffMultiplier": {
          "kind": "parameter",
          "displayName": "Backoff Multiplier",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "integer",
          "javaType": "int",
          "deprecated": false,
          "secret": false,
          "description": "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured."
        },
        "delay": {
          "kind": "parameter",
          "displayName": "Delay",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "integer",
          "javaType": "long",
          "deprecated": false,
          "secret": false,
          "defaultValue": "500",
          "description": "Milliseconds before the next poll."
        },
        "greedy": {
          "kind": "parameter",
          "displayName": "Greedy",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": false,
          "description": "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages."
        },
        "initialDelay": {
          "kind": "parameter",
          "displayName": "Initial Delay",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "integer",
          "javaType": "long",
          "deprecated": false,
          "secret": false,
          "defaultValue": "1000",
          "description": "Milliseconds before the first poll starts."
        },
        "repeatCount": {
          "kind": "parameter",
          "displayName": "Repeat Count",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "integer",
          "javaType": "long",
          "deprecated": false,
          "secret": false,
          "defaultValue": "0",
          "description": "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever."
        },
        "runLoggingLevel": {
          "kind": "parameter",
          "displayName": "Run Logging Level",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "object",
          "javaType": "org.apache.camel.LoggingLevel",
          "enum": [
            "TRACE",
            "DEBUG",
            "INFO",
            "WARN",
            "ERROR",
            "OFF"
          ],
          "deprecated": false,
          "secret": false,
          "defaultValue": "TRACE",
          "description": "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that."
        },
        "scheduledExecutorService": {
          "kind": "parameter",
          "displayName": "Scheduled Executor Service",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "object",
          "javaType": "java.util.concurrent.ScheduledExecutorService",
          "deprecated": false,
          "secret": false,
          "description": "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool."
        },
        "scheduler": {
          "kind": "parameter",
          "displayName": "Scheduler",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "string",
          "javaType": "java.lang.String",
          "enum": [
            "none",
            "spring",
            "quartz"
          ],
          "deprecated": false,
          "secret": false,
          "defaultValue": "none",
          "description": "To use a cron scheduler from either camel-spring or camel-quartz component"
        },
        "schedulerProperties": {
          "kind": "parameter",
          "displayName": "Scheduler Properties",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "object",
          "javaType": "java.util.Map\u003cjava.lang.String, java.lang.Object\u003e",
          "prefix": "scheduler.",
          "multiValue": true,
          "deprecated": false,
          "secret": false,
          "description": "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler."
        },
        "startScheduler": {
          "kind": "parameter",
          "displayName": "Start Scheduler",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": "true",
          "description": "Whether the scheduler should be auto started."
        },
        "timeUnit": {
          "kind": "parameter",
          "displayName": "Time Unit",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "object",
          "javaType": "java.util.concurrent.TimeUnit",
          "enum": [
            "NANOSECONDS",
            "MICROSECONDS",
            "MILLISECONDS",
            "SECONDS",
            "MINUTES",
            "HOURS",
            "DAYS"
          ],
          "deprecated": false,
          "secret": false,
          "defaultValue": "MILLISECONDS",
          "description": "Time unit for initialDelay and delay options."
        },
        "useFixedDelay": {
          "kind": "parameter",
          "displayName": "Use Fixed Delay",
          "group": "scheduler",
          "label": "consumer,scheduler",
          "required": false,
          "type": "boolean",
          "javaType": "boolean",
          "deprecated": false,
          "secret": false,
          "defaultValue": "true",
          "description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details."
        },
        "authorizationToken": {
          "kind": "parameter",
          "displayName": "Authorization Token",
          "group": "security",
          "label": "security",
          "required": true,
          "type": "string",
          "javaType": "java.lang.String",
          "deprecated": false,
          "deprecationNote": "",
          "secret": true,
          "configurationClass": "org.apache.camel.component.telegram.TelegramConfiguration",
          "configurationField": "configuration",
          "description": "The authorization token for using the bot (ask the BotFather)"
        }
      }
    }
  },
  "outputs": {
    "init": {
      "fields": {
        "@IMPORT": [
          {
            "sourceFactoryId": "#",
            "location": "fields",
            "prefix": "camel_",
            "filter": {
              "contains": [
                {
                  "attribute": "kind",
                  "values": [
                    "property"
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    "path": {
      "fields": {
        "@IMPORT": [
          {
            "sourceFactoryId": "#",
            "location": "fields",
            "prefix": "camel_",
            "filter": {
              "contains": [
                {
                  "attribute": "kind",
                  "values": [
                    "path"
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    "consumer": {
      "fields": {
        "@IMPORT": [
          {
            "sourceFactoryId": "#",
            "location": "fields",
            "prefix": "camel_",
            "filter": {
              "contains": [
                {
                  "attribute": "kind",
                  "values": [
                    "parameter"
                  ]
                },
                {
                  "attribute": "label",
                  "inverse": true,
                  "values": [
                    "producer"
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    "producer": {
      "fields": {
        "@IMPORT": [
          {
            "sourceFactoryId": "#",
            "location": "fields",
            "prefix": "camel_",
            "filter": {
              "contains": [
                {
                  "attribute": "kind",
                  "values": [
                    "parameter"
                  ]
                },
                {
                  "attribute": "label",
                  "inverse": true,
                  "values": [
                    "consumer"
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    "__objects": {
      "fields": {
        "@IMPORT": [
          {
            "sourceFactoryId": "#",
            "location": "fields",
            "prefix": "",
            "filter": {
              "contains": [
                {
                  "attribute": "type",
                  "values": [
                    "Object",
                    "object"
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  }
}