Interface ChatType.Builder
- All Superinterfaces:
AbstractBuilder<ChatType>, Builder<ChatType, ChatType.Builder>, CopyableBuilder<ChatType, ChatType.Builder>, ResettableBuilder<ChatType, ChatType.Builder>
- Enclosing interface:
ChatType
public static interface ChatType.Builder
extends Builder<ChatType, ChatType.Builder>, CopyableBuilder<ChatType, ChatType.Builder>
A builder to create
ChatTypes.-
Method Summary
Modifier and TypeMethodDescriptionAdds a content parameter.Adds a sender parameter.Adds a target parameter.Sets the style.translationKey(String translationKey) Sets the translation key or custom format mask.Methods inherited from interface AbstractBuilder
buildMethods inherited from interface CopyableBuilder
from
-
Method Details
-
translationKey
Sets the translation key or custom format mask.- Parameters:
translationKey- The translation key or format mask- Returns:
- this builder, for chaining
-
style
Sets the style.- Parameters:
style- The style- Returns:
- this builder, for chaining
-
addSender
-
addContent
-
addTarget
-