Class OutgoingGetGameHighScoresMessage
- java.lang.Object
-
- org.apache.camel.component.telegram.model.OutgoingMessage
-
- org.apache.camel.component.telegram.model.OutgoingGetGameHighScoresMessage
-
- All Implemented Interfaces:
Serializable
public class OutgoingGetGameHighScoresMessage extends OutgoingMessage
Used to get data for high score tables. Will return the score of the specified user and several of his neighbors in a game. On success, returns aMessageResultGameScoresobject.
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
-
Constructor Summary
Constructors Constructor Description OutgoingGetGameHighScoresMessage()OutgoingGetGameHighScoresMessage(Long userId, Long messageId, String inlineMessageId)BuildsOutgoingGetGameHighScoresMessageinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInlineMessageId()LonggetMessageId()LonggetUserId()voidsetInlineMessageId(String inlineMessageId)voidsetMessageId(Long messageId)voidsetUserId(Long userId)StringtoString()-
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId
-
-
-
-
Constructor Detail
-
OutgoingGetGameHighScoresMessage
public OutgoingGetGameHighScoresMessage(Long userId, Long messageId, String inlineMessageId)
BuildsOutgoingGetGameHighScoresMessageinstance.- Parameters:
userId- User identifiermessageId- Required if inline_message_id is not specified. Identifier of the sent messageinlineMessageId- Required if chat_id and message_id are not specified. Identifier of the inline message
-
OutgoingGetGameHighScoresMessage
public OutgoingGetGameHighScoresMessage()
-
-
Method Detail
-
getUserId
public Long getUserId()
-
setUserId
public void setUserId(Long userId)
-
getMessageId
public Long getMessageId()
-
setMessageId
public void setMessageId(Long messageId)
-
getInlineMessageId
public String getInlineMessageId()
-
setInlineMessageId
public void setInlineMessageId(String inlineMessageId)
-
toString
public String toString()
- Overrides:
toStringin classOutgoingMessage
-
-