Class InlineKeyboardMarkup
- java.lang.Object
-
- org.apache.camel.component.telegram.model.InlineKeyboardMarkup
-
- All Implemented Interfaces:
Serializable,ReplyMarkup
public class InlineKeyboardMarkup extends Object implements Serializable, ReplyMarkup
This object represents an inline keyboard that appears right next to the message it belongs to.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInlineKeyboardMarkup.Builder
-
Constructor Summary
Constructors Constructor Description InlineKeyboardMarkup()InlineKeyboardMarkup(List<List<InlineKeyboardButton>> inlineKeyboard)BuildsInlineKeyboardMarkupinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineKeyboardMarkup.Builderbuilder()List<List<InlineKeyboardButton>>getInlineKeyboard()voidsetInlineKeyboard(List<List<InlineKeyboardButton>> inlineKeyboard)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.camel.component.telegram.model.ReplyMarkup
toJson
-
-
-
-
Constructor Detail
-
InlineKeyboardMarkup
public InlineKeyboardMarkup(List<List<InlineKeyboardButton>> inlineKeyboard)
BuildsInlineKeyboardMarkupinstance.- Parameters:
inlineKeyboard- Array ofInlineKeyboardButtonrows
-
InlineKeyboardMarkup
public InlineKeyboardMarkup()
-
-
Method Detail
-
getInlineKeyboard
public List<List<InlineKeyboardButton>> getInlineKeyboard()
-
setInlineKeyboard
public void setInlineKeyboard(List<List<InlineKeyboardButton>> inlineKeyboard)
-
builder
public static InlineKeyboardMarkup.Builder builder()
-
-