Record Class ReplyKeyboardRemove
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.ReplyKeyboardRemove
- All Implemented Interfaces:
Serializable, ApiResult, ReplyKeyboard
public record ReplyKeyboardRemove(boolean removeKeyboard, boolean selective)
extends Record
implements ReplyKeyboard
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReplyKeyboardRemove(boolean removeKeyboard, boolean selective) Creates an instance of aReplyKeyboardRemoverecord 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.ofBuilder(boolean removeKeyboard) booleanReturns the value of theremoveKeyboardrecord component.booleanReturns the value of theselectiverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReplyKeyboardRemove
public ReplyKeyboardRemove(boolean removeKeyboard, boolean selective) Creates an instance of aReplyKeyboardRemoverecord class.- Parameters:
removeKeyboard- the value for theremoveKeyboardrecord componentselective- the value for theselectiverecord 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 with thecomparemethod from their corresponding wrapper classes. -
removeKeyboard
public boolean removeKeyboard()Returns the value of theremoveKeyboardrecord component.- Returns:
- the value of the
removeKeyboardrecord component
-
selective
public boolean selective()Returns the value of theselectiverecord component.- Returns:
- the value of the
selectiverecord component
-