-
public final class Config
-
-
Field Summary
Fields Modifier and Type Field Description private final Datecreated_atprivate final Dateupdated_atprivate final Stringnameprivate final BooleanisTypingEventsprivate final BooleanisReadEventsprivate final BooleanisConnectEventsprivate final BooleanisSearchprivate final BooleanisReactionsEnabledprivate final BooleanisRepliesEnabledprivate final BooleanisMutesprivate final BooleanuploadsEnabledprivate final BooleanurlEnrichmentEnabledprivate final BooleancustomEventsEnabledprivate final BooleanpushNotificationsEnabledprivate final StringmessageRetentionprivate final IntegermaxMessageLengthprivate final Stringautomodprivate final StringautomodBehaviorprivate final StringblocklistBehaviorprivate final List<Command>commands
-
Constructor Summary
Constructors Constructor Description Config(Date created_at, Date updated_at, String name, Boolean isTypingEvents, Boolean isReadEvents, Boolean isConnectEvents, Boolean isSearch, Boolean isReactionsEnabled, Boolean isRepliesEnabled, Boolean isMutes, Boolean uploadsEnabled, Boolean urlEnrichmentEnabled, Boolean customEventsEnabled, Boolean pushNotificationsEnabled, String messageRetention, Integer maxMessageLength, String automod, String automodBehavior, String blocklistBehavior, List<Command> commands)
-
Method Summary
Modifier and Type Method Description final DategetCreated_at()Date of channel creation. final DategetUpdated_at()Date of last channel update. final StringgetName()The name of the channel type must be unique per application final BooleangetIsTypingEvents()Controls if typing indicators are shown. final BooleangetIsReadEvents()Controls whether the chat shows how far you’ve read. final BooleangetIsConnectEvents()Determines if events are fired for connecting and disconnecting to a chat. final BooleangetIsSearch()Controls if messages should be searchable (this is a premium feature). final BooleangetIsReactionsEnabled()If users are allowed to add reactions to messages. final BooleangetIsRepliesEnabled()Enables message threads and replies. final BooleangetIsMutes()Determines if users are able to mute other users. final BooleangetUploadsEnabled()Allows image and file uploads within messages. final BooleangetUrlEnrichmentEnabled()Determines if URL enrichment enabled to show they as attachments. final BooleangetCustomEventsEnabled()final BooleangetPushNotificationsEnabled()final StringgetMessageRetention()A number of days or infinite. final IntegergetMaxMessageLength()The max message length. final StringgetAutomod()Disabled, simple or AI are valid options for the Automod. final StringgetAutomodBehavior()final StringgetBlocklistBehavior()final List<Command>getCommands()The commands that are available on this channel type, e.g. -
-
Constructor Detail
-
Config
Config(Date created_at, Date updated_at, String name, Boolean isTypingEvents, Boolean isReadEvents, Boolean isConnectEvents, Boolean isSearch, Boolean isReactionsEnabled, Boolean isRepliesEnabled, Boolean isMutes, Boolean uploadsEnabled, Boolean urlEnrichmentEnabled, Boolean customEventsEnabled, Boolean pushNotificationsEnabled, String messageRetention, Integer maxMessageLength, String automod, String automodBehavior, String blocklistBehavior, List<Command> commands)
-
-
Method Detail
-
getCreated_at
final Date getCreated_at()
Date of channel creation.
-
getUpdated_at
final Date getUpdated_at()
Date of last channel update.
-
getIsTypingEvents
final Boolean getIsTypingEvents()
Controls if typing indicators are shown. Enabled by default.
-
getIsReadEvents
final Boolean getIsReadEvents()
Controls whether the chat shows how far you’ve read. Enabled by default.
-
getIsConnectEvents
final Boolean getIsConnectEvents()
Determines if events are fired for connecting and disconnecting to a chat. Enabled by default.
-
getIsSearch
final Boolean getIsSearch()
Controls if messages should be searchable (this is a premium feature). Disabled by default.
-
getIsReactionsEnabled
final Boolean getIsReactionsEnabled()
If users are allowed to add reactions to messages. Enabled by default.
-
getIsRepliesEnabled
final Boolean getIsRepliesEnabled()
Enables message threads and replies. Enabled by default.
-
getIsMutes
final Boolean getIsMutes()
Determines if users are able to mute other users. Enabled by default.
-
getUploadsEnabled
final Boolean getUploadsEnabled()
Allows image and file uploads within messages. Enabled by default.
-
getUrlEnrichmentEnabled
final Boolean getUrlEnrichmentEnabled()
Determines if URL enrichment enabled to show they as attachments. Enabled by default.
-
getCustomEventsEnabled
final Boolean getCustomEventsEnabled()
-
getPushNotificationsEnabled
final Boolean getPushNotificationsEnabled()
-
getMessageRetention
final String getMessageRetention()
A number of days or infinite. "Infinite" by default.
-
getMaxMessageLength
final Integer getMaxMessageLength()
The max message length. 5000 by default.
-
getAutomod
final String getAutomod()
Disabled, simple or AI are valid options for the Automod. AI based moderation is a premium feature.
-
getAutomodBehavior
final String getAutomodBehavior()
-
getBlocklistBehavior
final String getBlocklistBehavior()
-
getCommands
final List<Command> getCommands()
The commands that are available on this channel type, e.g. /giphy.
-
-
-
-