Class TelegramEndpointBuilderFactory.TelegramHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.TelegramEndpointBuilderFactory.TelegramHeaderNameBuilder
- Enclosing interface:
- TelegramEndpointBuilderFactory
The builder of headers' name for the Telegram component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe message timestamp.This header is used by the producer endpoint in order to resolve the chat id that will receive the message.The reply markup.This header is used to provide a caption or title for outgoing binary messages.This header is used to identify the media type when the outgoing message is composed of pure binary data.This header is used to format text messages using HTML or Markdown.
-
Constructor Details
-
TelegramHeaderNameBuilder
public TelegramHeaderNameBuilder()
-
-
Method Details
-
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
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
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
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
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
The message timestamp. The option is a:long
type. Group: common- Returns:
- the name of the header
MessageTimestamp
.
-