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 aMessageResultGameScores
object.
-
-
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)
BuildsOutgoingGetGameHighScoresMessage
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInlineMessageId()
Long
getMessageId()
Long
getUserId()
void
setInlineMessageId(String inlineMessageId)
void
setMessageId(Long messageId)
void
setUserId(Long userId)
String
toString()
-
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)
BuildsOutgoingGetGameHighScoresMessage
instance.- 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:
toString
in classOutgoingMessage
-
-