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 class
InlineKeyboardMarkup.Builder
-
Constructor Summary
Constructors Constructor Description InlineKeyboardMarkup()
InlineKeyboardMarkup(List<List<InlineKeyboardButton>> inlineKeyboard)
BuildsInlineKeyboardMarkup
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineKeyboardMarkup.Builder
builder()
List<List<InlineKeyboardButton>>
getInlineKeyboard()
void
setInlineKeyboard(List<List<InlineKeyboardButton>> inlineKeyboard)
String
toString()
-
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)
BuildsInlineKeyboardMarkup
instance.- Parameters:
inlineKeyboard
- Array ofInlineKeyboardButton
rows
-
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()
-
-