Class TelegramConstants
- java.lang.Object
-
- org.apache.camel.component.telegram.TelegramConstants
-
public final class TelegramConstants extends Object
Useful constants for the Telegram component.
-
-
Field Summary
Fields Modifier and Type Field Description static String
MESSAGE_TIMESTAMP
static String
TELEGRAM_CHAT_ID
static String
TELEGRAM_MEDIA_MARKUP
static String
TELEGRAM_MEDIA_TITLE_CAPTION
static String
TELEGRAM_MEDIA_TYPE
static String
TELEGRAM_PARSE_MODE
-
-
-
Field Detail
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
MESSAGE_TIMESTAMP
@Metadata(description="The message timestamp.", javaType="long") public static final String MESSAGE_TIMESTAMP
- See Also:
- Constant Field Values
-
-