Class OutgoingCallbackQueryMessage
- java.lang.Object
-
- org.apache.camel.component.telegram.model.OutgoingMessage
-
- org.apache.camel.component.telegram.model.OutgoingCallbackQueryMessage
-
- All Implemented Interfaces:
Serializable
public class OutgoingCallbackQueryMessage extends OutgoingMessage
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. ReturnsMessageResult
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
-
Constructor Summary
Constructors Constructor Description OutgoingCallbackQueryMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCacheTime()
String
getCallbackQueryId()
Boolean
getShowAlert()
String
getText()
String
getUrl()
void
setCacheTime(Integer cacheTime)
void
setCallbackQueryId(String callbackQueryId)
void
setShowAlert(Boolean showAlert)
void
setText(String text)
void
setUrl(String url)
String
toString()
-
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId
-
-
-
-
Method Detail
-
getCallbackQueryId
public String getCallbackQueryId()
-
setCallbackQueryId
public void setCallbackQueryId(String callbackQueryId)
-
getText
public String getText()
-
setText
public void setText(String text)
-
getShowAlert
public Boolean getShowAlert()
-
setShowAlert
public void setShowAlert(Boolean showAlert)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getCacheTime
public Integer getCacheTime()
-
setCacheTime
public void setCacheTime(Integer cacheTime)
-
toString
public String toString()
- Overrides:
toString
in classOutgoingMessage
-
-