Record Class ConversationManager.JoinResult.ConversationNotFound
java.lang.Object
java.lang.Record
org.teleight.teleightbots.conversation.ConversationManager.JoinResult.ConversationNotFound
- All Implemented Interfaces:
ConversationManager.JoinResult
- Enclosing interface:
ConversationManager.JoinResult
public static record ConversationManager.JoinResult.ConversationNotFound()
extends Record
implements ConversationManager.JoinResult
Represents a failed join operation due to the conversation not being found.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.teleight.teleightbots.conversation.ConversationManager.JoinResult
ConversationManager.JoinResult.AlreadyInConversation, ConversationManager.JoinResult.ConversationNotFound, ConversationManager.JoinResult.InstanceConstraintReached, ConversationManager.JoinResult.Success -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aConversationNotFoundrecord class. -
Method Summary
-
Constructor Details
-
ConversationNotFound
public ConversationNotFound()Creates an instance of aConversationNotFoundrecord class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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.
-