public static class InlineQueryResultGame.InlineQueryResultGameBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
InlineQueryResultGame |
build()
Builds the InlineQueryResultGame object
|
InlineQueryResultGame.InlineQueryResultGameBuilder |
gameShortName(String gameShortName)
*Required*
Sets the title to the provided value
|
InlineQueryResultGame.InlineQueryResultGameBuilder |
id(String id)
*Optional*
Sets the ID to the provided value.
|
InlineQueryResultGame.InlineQueryResultGameBuilder |
replyMarkup(InlineReplyMarkup replyMarkup)
*Optional*
Sets the inline keyboard attached to this message to the InlineReplyMarkup provided
|
public InlineQueryResultGame.InlineQueryResultGameBuilder id(String id)
id - The ID you want the result to havepublic InlineQueryResultGame.InlineQueryResultGameBuilder gameShortName(String gameShortName)
gameShortName - The title you want the result to havepublic InlineQueryResultGame.InlineQueryResultGameBuilder replyMarkup(InlineReplyMarkup replyMarkup)
replyMarkup - The inline keyboard you want to attach to the messagepublic InlineQueryResultGame build()
Copyright © 2017. All rights reserved.