Class TelegramEndpointBuilderFactory.TelegramHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.TelegramEndpointBuilderFactory.TelegramHeaderNameBuilder
Enclosing interface:
TelegramEndpointBuilderFactory

public static class TelegramEndpointBuilderFactory.TelegramHeaderNameBuilder extends Object
The builder of headers' name for the Telegram component.
  • Constructor Details

    • TelegramHeaderNameBuilder

      public TelegramHeaderNameBuilder()
  • Method Details

    • telegramChatId

      public String telegramChatId()
      This header is used by the producer endpoint in order to resolve the chat id that will receive the message. The recipient chat id can be placed (in order of priority) in message body, in the CamelTelegramChatId header or in the endpoint configuration (chatId option). This header is also present in all incoming messages. The option is a: Object type. Group: producer
      Returns:
      the name of the header TelegramChatId.
    • telegramMediaType

      public String telegramMediaType()
      This header is used to identify the media type when the outgoing message is composed of pure binary data. Possible values are strings or enum values belonging to the org.apache.camel.component.telegram.TelegramMediaType enumeration. The option is a: org.apache.camel.component.telegram.TelegramMediaType or String type. Group: common
      Returns:
      the name of the header TelegramMediaType.
    • telegramMediaTitleCaption

      public String telegramMediaTitleCaption()
      This header is used to provide a caption or title for outgoing binary messages. The option is a: String type. Group: common
      Returns:
      the name of the header TelegramMediaTitleCaption.
    • telegramMediaMarkup

      public String telegramMediaMarkup()
      The reply markup. The option is a: org.apache.camel.component.telegram.model.ReplyMarkup type. Group: common
      Returns:
      the name of the header TelegramMediaMarkup.
    • telegramParseMode

      public String telegramParseMode()
      This header is used to format text messages using HTML or Markdown. The option is a: org.apache.camel.component.telegram.TelegramParseMode type. Group: common
      Returns:
      the name of the header TelegramParseMode.
    • messageTimestamp

      public String messageTimestamp()
      The message timestamp. The option is a: long type. Group: common
      Returns:
      the name of the header MessageTimestamp.