Class TelegramConstants

java.lang.Object
org.apache.camel.component.telegram.TelegramConstants

public final class TelegramConstants extends Object
Useful constants for the Telegram component.
  • Field Details

    • TELEGRAM_CHAT_ID

      @Metadata(label="producer", description="This header is used by the producer endpoint in order to\nresolve the chat id that will receive the message. The recipient chat id can be\nplaced (in order of priority) in message body, in the `CamelTelegramChatId` header\nor in the endpoint configuration (`chatId` option).\nThis header is also present in all incoming messages.", javaType="Object") public static final String TELEGRAM_CHAT_ID
      See Also:
    • TELEGRAM_MEDIA_TYPE

      @Metadata(description="This header is used to identify the media type when\nthe outgoing message is composed of pure binary data. Possible values are strings or enum values\nbelonging to the `org.apache.camel.component.telegram.TelegramMediaType` enumeration.", javaType="org.apache.camel.component.telegram.TelegramMediaType or String") public static final String TELEGRAM_MEDIA_TYPE
      See Also:
    • TELEGRAM_MEDIA_TITLE_CAPTION

      @Metadata(description="This header is used to provide a caption or title\nfor outgoing binary messages.", javaType="String") public static final String TELEGRAM_MEDIA_TITLE_CAPTION
      See Also:
    • TELEGRAM_MEDIA_MARKUP

      @Metadata(description="The reply markup.", javaType="org.apache.camel.component.telegram.model.ReplyMarkup") public static final String TELEGRAM_MEDIA_MARKUP
      See Also:
    • TELEGRAM_PARSE_MODE

      @Metadata(description="This header is used to format text messages using HTML or Markdown", javaType="org.apache.camel.component.telegram.TelegramParseMode") public static final String TELEGRAM_PARSE_MODE
      See Also:
    • MESSAGE_TIMESTAMP

      @Metadata(description="The message timestamp.", javaType="long") public static final String MESSAGE_TIMESTAMP
      See Also: