Record Class InlineKeyboardMarkup
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.InlineKeyboardMarkup
- All Implemented Interfaces:
Serializable, ApiResult, ReplyKeyboard
public record InlineKeyboardMarkup(@NotNull InlineKeyboardButton[][] keyboard)
extends Record
implements ReplyKeyboard
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInlineKeyboardMarkup(@NotNull InlineKeyboardButton[][] keyboard) Creates an instance of aInlineKeyboardMarkuprecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull InlineKeyboardButton[][]keyboard()Returns the value of thekeyboardrecord component.ofBuilder(InlineKeyboardButton[][] keyboard) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InlineKeyboardMarkup
Creates an instance of aInlineKeyboardMarkuprecord class.- Parameters:
keyboard- the value for thekeyboardrecord component
-
-
Method Details
-
ofBuilder
-
toBuilder
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
keyboard
Returns the value of thekeyboardrecord component.- Returns:
- the value of the
keyboardrecord component
-