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 IntegergetCacheTime()StringgetCallbackQueryId()BooleangetShowAlert()StringgetText()StringgetUrl()voidsetCacheTime(Integer cacheTime)voidsetCallbackQueryId(String callbackQueryId)voidsetShowAlert(Boolean showAlert)voidsetText(String text)voidsetUrl(String url)StringtoString()-
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:
toStringin classOutgoingMessage
-
-