Classes
The following classes are available globally.
-
An object represents base class for channel
See moreDeclaration
Swift
open class BaseChannel: NSObject, Codable, Identifiable, Cacheable, Injectableextension BaseChannel: Serializableextension BaseChannel: Mappable -
The
GroupChannelclass represents a group channel which is a private chat.The user who wants to join the group channel has to be invited by another user who is already joined the channel. This class is derived from
BaseChannel. If theBaseChannelDelegateis added, the user will automatically receive all messages from the group channels where the user belongs after connection. TheGroupChannelprovides the features of general messaging apps.- Typing indicator.
- Read status for each message.
- Unread message count in the channel.
- Lastest message in the channel.
The
GroupChannelhas a special property,isDistinct. The distinct property enabled group channel is always reuesd for same channel members. If a new member gets invited or the member left from the channel, then the distinct property disabled automatically. If you don’t set distinct property on the channel, it always create new channel for the same members.For more information, see Group Channel.
See moreDeclaration
Swift
open class GroupChannel: BaseChannel, SortableElement -
The
OpenChannelclass represents a open channel which is a public chat.Any users who wants to enter the channel can join freely. This class is derived from
BaseChannel. If theOpenChannelDelegateis added, the user will automatically receive all messages from the channels where the user belongs after connection. TheOpenChanneldoes not provide the features thatGroupChanneldoes, but it can handle much more users.For more information, see Group Channel.
See moreDeclaration
Swift
open class OpenChannel: BaseChannel -
Declaration
Swift
public final class MessageChangeLogsParams: NSObject, NSCopying -
Declaration
Swift
public final class MessageListParams: NSObject, NSCopying -
An object that represents the parameters for the The method returns channels according to the properties in this object.
See moreSince
3.0.182Declaration
Swift
public final class GroupChannelChangeLogsParams: NSObject -
An object contains set of options to create a group channel
See moreDeclaration
Swift
public final class GroupChannelCreateParams: NSObject, Codableextension GroupChannelCreateParams: NSCopying -
An object contains a set of options to get total unread message count from a group channel
See moreDeclaration
Swift
public final class GroupChannelTotalUnreadMessageCountParams: NSObject -
An object contains a set of options to get unread item count from a group channel
See moreSince
4.21.0Declaration
Swift
public final class GroupChannelUnreadItemCountParams: NSObject -
An object contains a set of options to update a group channel
See moreDeclaration
Swift
public final class GroupChannelUpdateParams: NSObject, Encodable -
The
OpenChannelCreateParamsclass contain parameters foropen channel.When you want to create a open channel or update a open channel, use this class. Add what you want to create with, add which properties you want to update, and pass this class to
OpenChannel. You can use this class with apis that areOpenChannel.createChannel(params:completionHandler:)orOpenChannel,update(params:completionHandler:). For more information, see Open Channel.See moreSince
3.0.206Declaration
Swift
public final class OpenChannelCreateParams: NSObject, NSCopying -
Declaration
Swift
public final class OpenChannelUpdateParams: NSObject, NSCopying -
Declaration
Swift
public final class PollUpdateEvent: NSObject, SBCommand -
Undocumented
See moreDeclaration
Swift
public final class UpdatedPoll: NSObject, Codable -
Declaration
Swift
public final class PollVoteEvent: NSObject, Decodable, SBCommand -
Sendbird error class.
See moreDeclaration
Swift
public final class SBError: NSError -
The
See moreBaseMessageclass represents the base message which is generated by a user or an admin. TheUserMessage, theFileMessageand theAdminMessageare derived from this class.Declaration
Swift
open class BaseMessage: NSObject, Codable, NSCopying, Injectable, SBCommand, SortableElement, Identifiableextension BaseMessage: Mappableextension BaseMessage: Serializable -
The
See moreUserclass represents a user. The user is identified by theuserId, so theuserIdhas to be unique. TheuserId,nicknameandprofileURLare valid in everyUserinstance, however theconnectionStatusandlastSeenAtis valid inUserinstance fromUserListQuery.Declaration
Swift
open class User: NSObject, Codable, Identifiable, Injectableextension User: Mappableextension User: NSCopyingextension User: Serializable -
Declaration
Swift
public final class Poll: NSObject, Codableextension Poll: Mappableextension Poll: Serializable -
Declaration
Swift
public final class EmojiCategory: NSObject, Codableextension EmojiCategory: Mappableextension EmojiCategory: Serializable -
An object that represents reaction event info.
The object is returned by not only the completion handler of
addReaction(message:key:completionHandler:)anddeleteReaction(message:key:completionHandler:)inBaseChannelclass, but alsochannel(_:updatedReaction:)delegate ofBaseChannelDelegateprotocol. The object has to be applied to the message that has the identical message ID with theapply(_:)method inBaseMessageclass.See moreSince
3.0.169Declaration
-
An object that represents the Reaction info.
The
BaseMessageobject can have theReactionobject inreactionsproperty.See moreSince
3.0.169Declaration
-
An base object for collection
Declaration
Swift
open class BaseCollection: NSObject -
Declaration
Swift
public final class LocalCacheConfig: NSObject -
Declaration
Swift
open class GroupChannelCollection: BaseCollectionextension GroupChannelCollection: GroupChannelDelegateextension GroupChannelCollection: ConnectionDelegate -
Declaration
Swift
public final class ChannelContext: NSObject -
General class for representing event details for
ChannelContextandFeedChannelContext. Every detail from delegate functions fromGroupChannelDelegateandFeedChannelDelegatecan be found as a subclass ofEventDetailSee moreSince
4.21.0Declaration
Swift
public class EventDetail: NSObject -
Declaration
Swift
open class MessageCollection: BaseCollectionextension MessageCollection: GroupChannelDelegateextension MessageCollection: ConnectionDelegate -
Declaration
Swift
public final class MessageContext: NSObject -
Undocumented
See moreDeclaration
Swift
public final class CachedBaseChannelInfo: NSObject, Comparable -
The
See moreAdminMessageclass represents a message which is sent by an admin via Platform API. The admin message doesn’t have a sender. This message is sutable for a notice to inform the members in a group channel or the participants in an open channel. If you would like to know about the Platform API for the message, see Send a message.Declaration
Swift
open class AdminMessage: BaseMessage -
Represents a mesage object that contains a text message. Derived from
See moreBaseMessage.Declaration
Swift
open class UserMessage: BaseMessage -
Represents a mesage object that contains a file. Derived from
BaseMessageSee moreNote
This class doesn’t include a binary data for the file. It is just a URL.Declaration
Swift
open class FileMessage: BaseMessage -
Represents the base class which has parameters to create a channel.
The
See moreUserMessageCreateParams, theFileMessageCreateParamsare derived from this class.Declaration
Swift
public class BaseMessageCreateParams: NSObject, Codable, NSCopying -
Represents the base class which has parameters to update a message.
The
See moreUserMessageUpdateParams, theFileMessageUpdateParamsare derived from this class.Declaration
Swift
public class BaseMessageUpdateParams: NSObject, Encodable, NSCopying -
Declaration
Swift
public final class MessageRetrievalParams: NSObject, NSCopying -
See more
Since
4.17.0Declaration
Swift
public final class MessageTemplateListParams: NSObjectextension MessageTemplateListParams: NSCopying -
See more
Since
4.6.0Declaration
Swift
public final class NotificationTemplateListParams: NSObjectextension NotificationTemplateListParams: NSCopying -
Declaration
Swift
public class ScheduledBaseMessageCreateParams: NSObject, Codable -
Declaration
Swift
public class ScheduledBaseMessageUpdateParams: NSObject -
Declaration
Swift
public final class ScheduledMessageRetrievalParams: NSObject -
Declaration
Swift
public final class ThreadedMessageListParams: NSObject, NSCopying -
Declaration
Swift
public final class TotalScheduledMessageCountParams: NSObject -
Declaration
Swift
public final class FileMessageCreateParams: BaseMessageCreateParams -
The
See moreFileMessageUpdateParamsclass is used to update a file message inBaseChannel. This is a child class ofBaseMessageUpdateParams.Declaration
Swift
public final class FileMessageUpdateParams: BaseMessageUpdateParams -
Undocumented
See moreDeclaration
Swift
public final class ScheduledFileMessageCreateParams: ScheduledBaseMessageCreateParams -
Undocumented
See moreDeclaration
Swift
public final class ScheduledFileMessageUpdateParams: ScheduledBaseMessageUpdateParams -
Represents a thumbnail information
See moreDeclaration
-
The
See moreThumbnailSizeclass represents the thumbnail size of thumbnail.Declaration
Swift
public final class ThumbnailSize: NSObject, Codable -
Declaration
Swift
@available(*, deprecated, renamed: "MessageForm", message: "This method is deprecated in 4.21.0") open class Form: NSObject, Codable, NSCopying -
Declaration
Swift
@available(*, deprecated, renamed: "MessageFormItem", message: "This method is deprecated in 4.21.0") open class FormField: NSObject, Codable, NSCopying -
Declaration
Swift
@available(*, deprecated, message: "This method is deprecated in 4.21.0") open class FormFieldAnswer: NSObject -
Message form data Since: 4.21.0
See moreDeclaration
Swift
open class MessageForm: NSObject, Codable, NSCopying -
The item data held by the Message form. Since: 4.21.0
See moreDeclaration
Swift
open class MessageFormItem: NSObject, Codable, NSCopying -
Declaration
Swift
open class TemplateMessageData: NSObject, Decodable -
Declaration
Swift
open class Feedback: NSObject, Codable, NSCopying -
Declaration
Swift
public final class MessageReviewInfo: NSObject, Codable -
Declaration
Swift
public final class OriginalMessageInfo: NSObject, Codable -
The
MessageMetaArrayinstance has a string type of key and an array type of value.The value consists of a string. It usually can be used for ‘vote’ or ‘reaction’ for the message.
See moreDeclaration
Swift
public final class MessageMetaArray: NSObject, Codable, NSCopyingextension MessageMetaArray: Serializable -
Declaration
Swift
public final class OGImage: NSObject, Codable -
Declaration
Swift
public final class OGMetaData: NSObject, Codable -
Undocumented
See moreDeclaration
Swift
public final class PinnedMessage: NSObject, Codable, NSCopying, Injectable -
Declaration
Swift
public final class PollCreateParams: NSObjectextension PollCreateParams: Encodable -
Declaration
Swift
public final class PollData: NSObject, Codable -
Declaration
Swift
public final class PollDetails: NSObject, Codable -
Declaration
Swift
public final class PollListQueryParams: NSObject -
Declaration
Swift
public final class PollOption: NSObject, Codable, Injectable -
Declaration
Swift
public final class PollOptionRetrievalParams: NSObjectextension PollOptionRetrievalParams: Encodable -
Declaration
Swift
public final class PollOptionVoterResult: NSObject, Codable -
Declaration
Swift
public final class UpdatedVoteCount: NSObject, Decodable -
Declaration
Swift
public final class PollVoterListQuery: NSObject -
Declaration
Swift
public final class PollVoterListQueryParams: NSObject -
Declaration
Swift
public final class ScheduledInfo: NSObject, Codable -
Undocumented
See moreDeclaration
Swift
public final class ScheduledStatusOptions: NSObject, OptionSet -
An object that represents the information about threaded messages, whose properties show how many replies the thread has received, who left the replies, and when the last reply was added.
See moreSince
3.0.181Declaration
Swift
public final class ThreadInfo: NSObject, Codable -
An object that is returned through the event handler when a threaded reply is added or deleted.
This object should be applied to the parent message.
See moreSince
3.0.181Declaration
Swift
public final class ThreadInfoUpdateEvent: NSObject, Codable, SBCommand -
Represents a message object that contains multiple files. Derived from
BaseMessage.See moreSince
4.9.1Declaration
Swift
public final class MultipleFilesMessage: BaseMessage -
Declaration
Swift
public final class MultipleFilesMessageCreateParams: BaseMessageCreateParams -
An object that contains a set of options to create a single file inside the
filesin aMultipleFilesMessageinstance.See moreSince
4.9.1Declaration
Swift
public final class UploadableFileInfo: NSObject, Codable -
An object that contains a set of information of a single file that finished being uploaded inside
MultipleFilesMessage.See moreSince
4.9.1Declaration
Swift
public final class UploadedFileInfo: NSObject, Codable, NSCopying, Injectable -
Declaration
Swift
public final class ScheduledUserMessageCreateParams: ScheduledBaseMessageCreateParams -
Declaration
Swift
public final class ScheduledUserMessageUpdateParams: ScheduledBaseMessageUpdateParams -
Declaration
Swift
public final class UserMessageCreateParams: BaseMessageCreateParams -
The
UserMessageUpdateParamsclass is used to update a user message inBaseChannel. This is a child class ofBaseMessageUpdateParams.See moreSince
4.0.0Declaration
Swift
public final class UserMessageUpdateParams: BaseMessageUpdateParams -
See more
Since
4.17.0Declaration
Swift
open class MessageTemplate: NSObject -
See more
Since
4.17.0Declaration
Swift
open class MessageTemplateInfo: NSObject, Codable -
See more
Since
4.17.0Declaration
Swift
open class MessageTemplateList: NSObject -
An object contains application information
See moreDeclaration
Swift
public final class AppInfo: NSObject, Codable -
Represents the options for the Apple Critical Alert.
The
BaseMessageCreateParamsobject may have theAppleCriticalAlertOptionsobject as anappleCriticalAlertOptionsproperty. When the message that has this options is received by the iOS device, the message is displayed as a critical alert. See theGenerating a Remote Notificationfor the details.See moreSince
3.0.221Declaration
Swift
public final class AppleCriticalAlertOptions: NSObject, Codable -
Declaration
-
An object contains list of
See moreEmojiCategoryand hashDeclaration
-
Undocumented
See moreDeclaration
Swift
open class MembersChangeLogsResult: NSObject -
Represents SendbirdChat options.
See moreDeclaration
Swift
public final class SendbirdChatOptions: NSObject -
An object contains set of options to retrieve total unread channel count
See moreDeclaration
Swift
public final class GroupChannelTotalUnreadChannelCountParams: NSObject, Encodable -
Declaration
Swift
public final class InitParams: NSObject -
Declaration
Swift
public final class Plugin: NSObject, Codable -
Filter types to query with
GroupChannelListQuery. You can combine search fields to query. used forsetSearchFilter(_:fields:)ofGroupChannelListQuerySee moreSince
3.0.144Declaration
Swift
public final class GroupChannelListQuerySearchField: NSObject, OptionSet, Codable -
The bitmask keys of count about unread messages or invitation.
See moreDeclaration
Swift
public final class UnreadItemKey: NSObject, OptionSet, Codable -
The
See moreSendbirdChatis the core class for Sendbird. This class is singletone instance which is initialized by Application ID. This class provides the methods for overall operations. The methods includeBaseChannelDelegateregistration for receiving events that are related to channels,ConnectionDelegatefor managing the connection status, updating the current user’s information, registration for APNS push notification and blocking other users.Declaration
Swift
public final class SendbirdChat: NSObject -
Declaration
Swift
public final class UIKitConfigInfo: Codable -
See more
Since
4.8.4Declaration
Swift
final public class UIKitConfiguration: NSObject, Codable -
See more
Since
4.6.0Declaration
Swift
open class UnreadMessageCount: NSObject -
Declaration
Swift
public class ReportCategoryInfo: NSObject, Decodable -
Declaration
Swift
open class FeedChannel: BaseChannel, SortableElement -
Declaration
Swift
public final class FeedChannelContext: NSObject -
Declaration
Swift
open class NotificationCollection: BaseCollectionextension NotificationCollection: FeedChannelDelegateextension NotificationCollection: ConnectionDelegate -
Declaration
Swift
public final class NotificationContext: NSObject -
See more
Since
4.6.0Declaration
Swift
open class GlobalNotificationChannelSetting: NSObject -
Declaration
Swift
open class NotificationCategory: NSObject, Codable -
Declaration
Swift
open class NotificationData: NSObject, Codable -
See more
Since
4.6.0Declaration
Swift
open class NotificationInfo: NSObject, Codable -
See more
Since
4.6.0Declaration
Swift
open class NotificationTemplate: NSObject -
See more
Since
4.6.0Declaration
Swift
open class NotificationTemplateList: NSObject -
See more
Since
4.6.0Declaration
Swift
public final class FeedChannelChangeLogsParams: NSObject -
Undocumented
See moreDeclaration
Swift
public final class FeedChannelListQuery: NSObject, NSCopying, Queryable -
Undocumented
See moreDeclaration
Swift
public final class FeedChannelListQueryParams: NSObject, Codableextension FeedChannelListQueryParams: NSCopying -
The
GroupChannelListQueryclass is a query class for getting the list of group channels.The instance of this class is created by
See morecreateMyGroupChannelListQuery()inGroupChannelclass.Declaration
Swift
public final class GroupChannelListQuery: NSObject, Codable, Queryableextension GroupChannelListQuery: Serializable -
Undocumented
See moreDeclaration
Swift
public final class GroupChannelListQueryParams: NSObject, Codableextension GroupChannelListQueryParams: NSCopying -
The
OpenChannelListQueryclass is a query class for getting the list of open channels.The instance of this class is created by
See morecreateOpenChannelListQuery()inOpenChannelclass.Declaration
Swift
public final class OpenChannelListQuery: NSObject, NSCopying, Queryable -
Undocumented
See moreDeclaration
Swift
public final class OpenChannelListQueryParams: NSObjectextension OpenChannelListQueryParams: NSCopying -
The
PublicGroupChannelListQueryclass is a query class for getting the list of public group channels.The instance of this class is created by
See morecreatePublicGroupChannelListQuery()inGroupChannelclass.Declaration
Swift
public final class PublicGroupChannelListQuery: NSObject, Queryable -
Undocumented
See moreDeclaration
Swift
public final class PublicGroupChannelListQueryParams: NSObjectextension PublicGroupChannelListQueryParams: NSCopying -
A class representing query to retrieve list of
BaseMessages that matches a given query with given filters.MessageSearchQuerycan be generated by usingMessageSearchQueryBuilderSee moreSince
3.0.162Declaration
Swift
public final class MessageSearchQuery: NSObject, Codable, Queryableextension MessageSearchQuery: Serializable -
Message search query builder
See moreDeclaration
Swift
public final class MessageSearchQueryParams: NSObject, Codableextension MessageSearchQueryParams: NSCopying -
This class provides a way to retrieve a list of pinned messages in a group channel. It has properties to get the query options and to check the status of the query.
See moreSince
4.8.0Declaration
Swift
public final class PinnedMessageListQuery: NSObject, Queryable -
Declaration
Swift
public final class PinnedMessageListQueryParams: NSObject, NSCopying -
An object which retrieves messages from the given channel.
The instance of this class is created by
See morecreatePreviousMessageListQuery()inBaseChannelclass.Declaration
Swift
public final class PreviousMessageListQuery: NSObject, Queryable -
Undocumented
See moreDeclaration
Swift
public final class PreviousMessageListQueryParams: NSObjectextension PreviousMessageListQueryParams: NSCopying -
The
ScheduledMessageListQueryclass is a query class for getting the list of scheduled messages.See moreSince
4.0.0Declaration
Swift
public final class ScheduledMessageListQuery: NSObjectextension ScheduledMessageListQuery: NSCopying -
Undocumented
See moreDeclaration
Swift
public final class ScheduledMessageListQueryParams: NSObjectextension ScheduledMessageListQueryParams: NSCopying -
The
ApplicationUserListQueryclass is a query class for getting the list of all users of the current application.This instance is created by
createApplicationUserListQuery()ofSendbirdChat.See moreSince
3.0.120Declaration
Swift
public final class ApplicationUserListQuery: NSObject, Queryable, UserListQuery -
Undocumented
See moreDeclaration
Swift
public final class ApplicationUserListQueryParams: NSObjectextension ApplicationUserListQueryParams: NSCopying -
The
BannedUserListQueryclass is a query class for getting the list of banned users in a specific channel.This instance is created by
createBannedUserListQueryofBaseChannel.See moreSince
3.0.120Declaration
Swift
public final class BannedUserListQuery: NSObject, Queryable, RestrictedUserListQuery -
Undocumented
See moreDeclaration
Swift
public final class BannedUserListQueryParams: NSObjectextension BannedUserListQueryParams: NSCopying -
The
BlockedUserListQueryclass is a query class for getting the list of blocked users by the current user.This instance is created by
createBlockedUserListQuery()ofSendbirdChat.See moreSince
3.0.120Declaration
Swift
public final class BlockedUserListQuery: NSObject, Queryable, UserListQuery -
Undocumented
See moreDeclaration
Swift
public final class BlockedUserListQueryParams: NSObjectextension BlockedUserListQueryParams: NSCopying -
A object to retrieve friend list
See moreDeclaration
Swift
public final class FriendListQuery: NSObject, Queryable, UserListQuery -
Undocumented
See moreDeclaration
Swift
public final class FriendListQueryParams: NSObjectextension FriendListQueryParams: NSCopying -
The
MemberListQueryclass is a query class for getting the list member in group channels.The instance of this class is created by
See morecreateMemberListQuery()inGroupChannelclass.Declaration
Swift
public final class MemberListQuery: NSObject, Queryable -
Undocumented
See moreDeclaration
Swift
public final class MemberListQueryParams: NSObjectextension MemberListQueryParams: NSCopying -
The
MutedUserListQueryclass is a query class for getting the list of muted users in a specific channel.This instance is created by
createMutedUserListQueryofBaseChannel.See moreSince
3.0.120Declaration
Swift
public final class MutedUserListQuery: NSObject, Queryable, RestrictedUserListQuery -
Undocumented
See moreDeclaration
Swift
public final class MutedUserListQueryParams: NSObjectextension MutedUserListQueryParams: NSCopying -
The
OperatorListQueryclass is a query class for getting the list of operators in channel.The instance of this class is created by
See morecreateOperatorListQuery()inBaseChannelclass.Declaration
Swift
public final class OperatorListQuery: NSObject, Queryable, UserListQuery -
Undocumented
See moreDeclaration
Swift
public final class OperatorListQueryParams: NSObjectextension OperatorListQueryParams: NSCopying -
The
ParticipantListQueryclass is a query class for getting the list of participants in an open channel.This instance is created by
createParticipantListQuery()ofOpenChannel.See moreSince
3.0.120Declaration
Swift
public final class ParticipantListQuery: NSObject, Queryable, UserListQuery -
Undocumented
See moreDeclaration
Swift
public final class ParticipantListQueryParams: NSObjectextension ParticipantListQueryParams: NSCopying -
The entry point for handling statistics
See moreWarning
This class is only for SendBird modules. Do not use this class in external services.Declaration
Swift
public final class __SendbirdStatistics -
Undocumented
See moreDeclaration
Swift
public class SSLClientCertificate -
Undocumented
See moreDeclaration
Swift
open class SSLCert -
Undocumented
See moreDeclaration
Swift
open class SSLSecurity : SSLTrustValidator -
Undocumented
See moreDeclaration
Swift
open class WebSocket : NSObject, StreamDelegate, WebSocketClient, WSStreamDelegate -
Undocumented
Declaration
Swift
public final class MessageRequestState: NSObject -
Represents a member in
See moreGroupChannelDeclaration
Swift
public final class Member: User -
Declaration
Swift
public final class Participant: User -
An object contains information about restriction
See moreDeclaration
Swift
public final class RestrictionInfo: NSObject, Codable -
Declaration
Swift
public final class UserUpdateParams: NSObject, Encodable -
Protoperty wrapper to access a property atomically
See moreDeclaration
Swift
public class Atomic<T>
View on GitHub
Install in Dash
Classes Reference