Class OutgoingCallbackQueryMessage
java.lang.Object
org.apache.camel.component.telegram.model.OutgoingMessage
org.apache.camel.component.telegram.model.OutgoingCallbackQueryMessage
- All Implemented Interfaces:
Serializable
Used to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a
notification at the top of the chat screen or as an alert. Returns
MessageResult
- See Also:
-
Field Summary
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
getUrl()
void
setCacheTime
(Integer cacheTime) void
setCallbackQueryId
(String callbackQueryId) void
setShowAlert
(Boolean showAlert) void
void
toString()
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId
-
Constructor Details
-
OutgoingCallbackQueryMessage
public OutgoingCallbackQueryMessage()
-
-
Method Details
-
getCallbackQueryId
-
setCallbackQueryId
-
getText
-
setText
-
getShowAlert
-
setShowAlert
-
getUrl
-
setUrl
-
getCacheTime
-
setCacheTime
-
toString
- Overrides:
toString
in classOutgoingMessage
-