Classes
The following classes are available globally.
-
An object represents base class for channel
See moreDeclaration
Swift
open class BaseChannel: NSObject, Codable, Identifiable, Cacheable, Injectable
extension BaseChannel: Serializable
extension BaseChannel: Mappable
-
The
GroupChannel
class 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 theBaseChannelDelegate
is added, the user will automatically receive all messages from the group channels where the user belongs after connection. TheGroupChannel
provides 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
GroupChannel
has 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
OpenChannel
class 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 theOpenChannelDelegate
is added, the user will automatically receive all messages from the channels where the user belongs after connection. TheOpenChannel
does not provide the features thatGroupChannel
does, 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.
Since
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, Codable
extension 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
Since
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
OpenChannelCreateParams
class 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.Since
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 moreBaseMessage
class represents the base message which is generated by a user or an admin. TheUserMessage
, theFileMessage
and theAdminMessage
are derived from this class.Declaration
Swift
open class BaseMessage: NSObject, Codable, NSCopying, Injectable, SBCommand, SortableElement, Identifiable
extension BaseMessage: Mappable
extension BaseMessage: Serializable
-
The
See moreUser
class represents a user. The user is identified by theuserId
, so theuserId
has to be unique. TheuserId
,nickname
andprofileURL
are valid in everyUser
instance, however theconnectionStatus
andlastSeenAt
is valid inUser
instance fromUserListQuery
.Declaration
Swift
open class User: NSObject, Codable, Identifiable, Injectable
extension User: Mappable
extension User: NSCopying
extension User: Serializable
-
Declaration
Swift
public final class Poll: NSObject, Codable
extension Poll: Mappable
extension Poll: Serializable
-
Declaration
Swift
public final class EmojiCategory: NSObject, Codable
extension EmojiCategory: Mappable
extension 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:)
inBaseChannel
class, but alsochannel(_:updatedReaction:)
delegate ofBaseChannelDelegate
protocol. The object has to be applied to the message that has the identical message ID with theapply(_:)
method inBaseMessage
class.Since
3.0.169Declaration
-
An object that represents the Reaction info.
The
BaseMessage
object can have theReaction
object inreactions
property.Since
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: BaseCollection
extension GroupChannelCollection: GroupChannelDelegate
extension GroupChannelCollection: ConnectionDelegate
-
Declaration
Swift
public final class ChannelContext: NSObject
-
General class for representing event details for
ChannelContext
andFeedChannelContext
. Every detail from delegate functions fromGroupChannelDelegate
andFeedChannelDelegate
can be found as a subclass ofEventDetail
Since
4.21.0Declaration
Swift
public class EventDetail: NSObject
-
Declaration
Swift
open class MessageCollection: BaseCollection
extension MessageCollection: GroupChannelDelegate
extension MessageCollection: ConnectionDelegate
-
Declaration
Swift
public final class MessageContext: NSObject
-
Undocumented
See moreDeclaration
Swift
public final class CachedBaseChannelInfo: NSObject, Comparable
-
The
See moreAdminMessage
class 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
BaseMessage
Note
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
, theFileMessageCreateParams
are 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
, theFileMessageUpdateParams
are derived from this class.Declaration
Swift
public class BaseMessageUpdateParams: NSObject, Encodable, NSCopying
-
Declaration
Swift
public final class MessageRetrievalParams: NSObject, NSCopying
-
Since
4.17.0Declaration
Swift
public final class MessageTemplateListParams: NSObject
extension MessageTemplateListParams: NSCopying
-
Since
4.6.0Declaration
Swift
public final class NotificationTemplateListParams: NSObject
extension 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 moreFileMessageUpdateParams
class 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 moreThumbnailSize
class 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
MessageMetaArray
instance 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, NSCopying
extension 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: NSObject
extension 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: NSObject
extension 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.
Since
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.
Since
3.0.181Declaration
Swift
public final class ThreadInfoUpdateEvent: NSObject, Codable, SBCommand
-
Represents a message object that contains multiple files. Derived from
BaseMessage
.Since
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
files
in aMultipleFilesMessage
instance.Since
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
.Since
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
UserMessageUpdateParams
class is used to update a user message inBaseChannel
. This is a child class ofBaseMessageUpdateParams
.Since
4.0.0Declaration
Swift
public final class UserMessageUpdateParams: BaseMessageUpdateParams
-
Since
4.17.0Declaration
Swift
open class MessageTemplate: NSObject
-
Since
4.17.0Declaration
Swift
open class MessageTemplateInfo: NSObject, Codable
-
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
BaseMessageCreateParams
object may have theAppleCriticalAlertOptions
object as anappleCriticalAlertOptions
property. 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 Notification
for the details.Since
3.0.221Declaration
Swift
public final class AppleCriticalAlertOptions: NSObject, Codable
-
Declaration
-
An object contains list of
See moreEmojiCategory
and 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:)
ofGroupChannelListQuery
Since
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 moreSendbirdChat
is 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 includeBaseChannelDelegate
registration for receiving events that are related to channels,ConnectionDelegate
for 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
-
Since
4.8.4Declaration
Swift
final public class UIKitConfiguration: NSObject, Codable
-
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: BaseCollection
extension NotificationCollection: FeedChannelDelegate
extension NotificationCollection: ConnectionDelegate
-
Declaration
Swift
public final class NotificationContext: NSObject
-
Since
4.6.0Declaration
Swift
open class GlobalNotificationChannelSetting: NSObject
-
Declaration
Swift
open class NotificationCategory: NSObject, Codable
-
Declaration
Swift
open class NotificationData: NSObject, Codable
-
Since
4.6.0Declaration
Swift
open class NotificationInfo: NSObject, Codable
-
Since
4.6.0Declaration
Swift
open class NotificationTemplate: NSObject
-
Since
4.6.0Declaration
Swift
open class NotificationTemplateList: NSObject
-
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, Codable
extension FeedChannelListQueryParams: NSCopying
-
The
GroupChannelListQuery
class is a query class for getting the list of group channels.The instance of this class is created by
See morecreateMyGroupChannelListQuery()
inGroupChannel
class.Declaration
Swift
public final class GroupChannelListQuery: NSObject, Codable, Queryable
extension GroupChannelListQuery: Serializable
-
Undocumented
See moreDeclaration
Swift
public final class GroupChannelListQueryParams: NSObject, Codable
extension GroupChannelListQueryParams: NSCopying
-
The
OpenChannelListQuery
class is a query class for getting the list of open channels.The instance of this class is created by
See morecreateOpenChannelListQuery()
inOpenChannel
class.Declaration
Swift
public final class OpenChannelListQuery: NSObject, NSCopying, Queryable
-
Undocumented
See moreDeclaration
Swift
public final class OpenChannelListQueryParams: NSObject
extension OpenChannelListQueryParams: NSCopying
-
The
PublicGroupChannelListQuery
class is a query class for getting the list of public group channels.The instance of this class is created by
See morecreatePublicGroupChannelListQuery()
inGroupChannel
class.Declaration
Swift
public final class PublicGroupChannelListQuery: NSObject, Queryable
-
Undocumented
See moreDeclaration
Swift
public final class PublicGroupChannelListQueryParams: NSObject
extension PublicGroupChannelListQueryParams: NSCopying
-
A class representing query to retrieve list of
BaseMessage
s that matches a given query with given filters.MessageSearchQuery
can be generated by usingMessageSearchQueryBuilder
Since
3.0.162Declaration
Swift
public final class MessageSearchQuery: NSObject, Codable, Queryable
extension MessageSearchQuery: Serializable
-
Message search query builder
See moreDeclaration
Swift
public final class MessageSearchQueryParams: NSObject, Codable
extension 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.
Since
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()
inBaseChannel
class.Declaration
Swift
public final class PreviousMessageListQuery: NSObject, Queryable
-
Undocumented
See moreDeclaration
Swift
public final class PreviousMessageListQueryParams: NSObject
extension PreviousMessageListQueryParams: NSCopying
-
The
ScheduledMessageListQuery
class is a query class for getting the list of scheduled messages.Since
4.0.0Declaration
Swift
public final class ScheduledMessageListQuery: NSObject
extension ScheduledMessageListQuery: NSCopying
-
Undocumented
See moreDeclaration
Swift
public final class ScheduledMessageListQueryParams: NSObject
extension ScheduledMessageListQueryParams: NSCopying
-
The
ApplicationUserListQuery
class is a query class for getting the list of all users of the current application.This instance is created by
createApplicationUserListQuery()
ofSendbirdChat
.Since
3.0.120Declaration
Swift
public final class ApplicationUserListQuery: NSObject, Queryable, UserListQuery
-
Undocumented
See moreDeclaration
Swift
public final class ApplicationUserListQueryParams: NSObject
extension ApplicationUserListQueryParams: NSCopying
-
The
BannedUserListQuery
class is a query class for getting the list of banned users in a specific channel.This instance is created by
createBannedUserListQuery
ofBaseChannel
.Since
3.0.120Declaration
Swift
public final class BannedUserListQuery: NSObject, Queryable, RestrictedUserListQuery
-
Undocumented
See moreDeclaration
Swift
public final class BannedUserListQueryParams: NSObject
extension BannedUserListQueryParams: NSCopying
-
The
BlockedUserListQuery
class is a query class for getting the list of blocked users by the current user.This instance is created by
createBlockedUserListQuery()
ofSendbirdChat
.Since
3.0.120Declaration
Swift
public final class BlockedUserListQuery: NSObject, Queryable, UserListQuery
-
Undocumented
See moreDeclaration
Swift
public final class BlockedUserListQueryParams: NSObject
extension 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: NSObject
extension FriendListQueryParams: NSCopying
-
The
MemberListQuery
class is a query class for getting the list member in group channels.The instance of this class is created by
See morecreateMemberListQuery()
inGroupChannel
class.Declaration
Swift
public final class MemberListQuery: NSObject, Queryable
-
Undocumented
See moreDeclaration
Swift
public final class MemberListQueryParams: NSObject
extension MemberListQueryParams: NSCopying
-
The
MutedUserListQuery
class is a query class for getting the list of muted users in a specific channel.This instance is created by
createMutedUserListQuery
ofBaseChannel
.Since
3.0.120Declaration
Swift
public final class MutedUserListQuery: NSObject, Queryable, RestrictedUserListQuery
-
Undocumented
See moreDeclaration
Swift
public final class MutedUserListQueryParams: NSObject
extension MutedUserListQueryParams: NSCopying
-
The
OperatorListQuery
class is a query class for getting the list of operators in channel.The instance of this class is created by
See morecreateOperatorListQuery()
inBaseChannel
class.Declaration
Swift
public final class OperatorListQuery: NSObject, Queryable, UserListQuery
-
Undocumented
See moreDeclaration
Swift
public final class OperatorListQueryParams: NSObject
extension OperatorListQueryParams: NSCopying
-
The
ParticipantListQuery
class is a query class for getting the list of participants in an open channel.This instance is created by
createParticipantListQuery()
ofOpenChannel
.Since
3.0.120Declaration
Swift
public final class ParticipantListQuery: NSObject, Queryable, UserListQuery
-
Undocumented
See moreDeclaration
Swift
public final class ParticipantListQueryParams: NSObject
extension ParticipantListQueryParams: NSCopying
-
The entry point for handling statistics
Warning
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 moreGroupChannel
Declaration
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>