|
Sendbird Chat SDK for .NET
|
Public Member Functions | |
| void | CreateChannel (SbGroupChannelCreateParams inChannelCreateParams, SbGroupChannelCallbackHandler inCompletionHandler) |
| Creates a group channel with SbGroupChannelCreateParams class. More... | |
| void | GetChannel (string inChannelUrl, SbGetGroupChannelHandler inCompletionHandler) |
| Gets a group channel instance from channel URL asynchronously. More... | |
| SbGroupChannelListQuery | CreateMyGroupChannelListQuery (SbGroupChannelListQueryParams inGroupChannelListQueryParams) |
| Creates a query for my group channel list. More... | |
| SbPublicGroupChannelListQuery | CreatePublicGroupChannelListQuery (SbPublicGroupChannelListQueryParams inPublicGroupChannelListQueryParams) |
| Creates a query for public group channel list. More... | |
| void | AddGroupChannelHandler (string inIdentifier, SbGroupChannelHandler inChannelHandler) |
| Adds a channel handler. All added handlers will be notified when events occur. More... | |
| void | RemoveGroupChannelHandler (string inIdentifier) |
| Removes a channel handler. The deleted handler no longer be notified. More... | |
| void | RemoveAllGroupChannelHandlers () |
| Removes all channel handlers added by AddGroupChannelHandler. More... | |
| SbUnreadMessageCount | GetUnreadMessageCount () |
| Gets the subscribed total unread message of current user. More... | |
| int | GetSubscribedTotalUnreadMessageCount () |
| Gets the subscribed total number of unread message of all GroupChannels the current user has joined. More... | |
| int | GetSubscribedCustomTypeTotalUnreadMessageCount () |
| Gets the total number of unread message of GroupChannels with subscribed custom types. More... | |
| int | GetSubscribedCustomTypeUnreadMessageCount (string inCustomType) |
| Gets the number of unread message of GroupChannel with subscribed custom type. More... | |
| void | GetGroupChannelCount (SbMyMemberStateFilter inMyMemberStateFilter, SbCountHandler inCompletionHandler) |
| Gets the number of my GroupChannels. More... | |
| void | GetTotalUnreadMessageCount (SbGroupChannelTotalUnreadMessageCountParams inParams, SbUnreadMessageCountHandler inCompletionHandler) |
| Gets the total number of unread message of GroupChannels with SbGroupChannelTotalUnreadMessageCountParams filter. More... | |
| void | GetTotalUnreadChannelCount (SbGroupChannelTotalUnreadMessageCountParams inParams, SbCountHandler inCompletionHandler) |
| Gets the total number of unread GroupChannels the current user has joined. More... | |
| void | GetUnreadItemCount (List< SbUnreadItemKey > inKeys, SbUnreadItemCountHandler inCompletionHandler) |
| Gets the unread item count of GroupChannels from keys. More... | |
| void | MarkAsReadAll (SbErrorHandler inCompletionHandler) |
| Sends mark as read to all joined GroupChannels. This method has rate limit. You can send one request per second. It returns SendbirdException if you exceed the rate limit. More... | |
| void | MarkAsReadWithChannelUrls (List< string > inChannelUrls, SbErrorHandler inCompletionHandler) |
| Sends mark as read to joined GroupChannels. This method has rate limit. You can send one request per second. More... | |
| void | MarkAsDelivered (Dictionary< string, string > inData, SbErrorHandler inCompletionHandler) |
| Sends mark as delivered to this channel when you received push message from us. More... | |
| void | GetMyGroupChannelChangeLogsByTimestamp (long inTimestamp, SbGroupChannelChangeLogsParams inParams, SbGroupChannelChangeLogsHandler inCompletionHandler) |
| Requests the channel changelogs after given timestamp. The result is passed to handler. More... | |
| void | GetMyGroupChannelChangeLogsByToken (string inToken, SbGroupChannelChangeLogsParams inParams, SbGroupChannelChangeLogsHandler inCompletionHandler) |
| Requests the channel changelogs from given token. The result is passed to handler. More... | |
| SbGroupChannelCollection | CreateGroupChannelCollection (SbGroupChannelCollectionCreateParams inGroupChannelCollectionCreateParams) |
| Creates GroupChannelCollection instance with the params. More... | |
| void AddGroupChannelHandler | ( | string | inIdentifier, |
| SbGroupChannelHandler | inChannelHandler | ||
| ) |
Adds a channel handler. All added handlers will be notified when events occur.
| inIdentifier | The identifier for handler. |
| inChannelHandler |
| void CreateChannel | ( | SbGroupChannelCreateParams | inChannelCreateParams, |
| SbGroupChannelCallbackHandler | inCompletionHandler | ||
| ) |
Creates a group channel with SbGroupChannelCreateParams class.
| inChannelCreateParams | |
| inCompletionHandler |
| SbGroupChannelCollection CreateGroupChannelCollection | ( | SbGroupChannelCollectionCreateParams | inGroupChannelCollectionCreateParams | ) |
Creates GroupChannelCollection instance with the params.
| inGroupChannelCollectionCreateParams |
| SbGroupChannelListQuery CreateMyGroupChannelListQuery | ( | SbGroupChannelListQueryParams | inGroupChannelListQueryParams | ) |
Creates a query for my group channel list.
| inGroupChannelListQueryParams |
| SbPublicGroupChannelListQuery CreatePublicGroupChannelListQuery | ( | SbPublicGroupChannelListQueryParams | inPublicGroupChannelListQueryParams | ) |
Creates a query for public group channel list.
| inPublicGroupChannelListQueryParams |
| void GetChannel | ( | string | inChannelUrl, |
| SbGetGroupChannelHandler | inCompletionHandler | ||
| ) |
Gets a group channel instance from channel URL asynchronously.
| inChannelUrl | |
| inCompletionHandler |
| void GetGroupChannelCount | ( | SbMyMemberStateFilter | inMyMemberStateFilter, |
| SbCountHandler | inCompletionHandler | ||
| ) |
Gets the number of my GroupChannels.
| inMyMemberStateFilter | |
| inCompletionHandler |
| void GetMyGroupChannelChangeLogsByTimestamp | ( | long | inTimestamp, |
| SbGroupChannelChangeLogsParams | inParams, | ||
| SbGroupChannelChangeLogsHandler | inCompletionHandler | ||
| ) |
Requests the channel changelogs after given timestamp. The result is passed to handler.
| inTimestamp | |
| inParams | |
| inCompletionHandler |
| void GetMyGroupChannelChangeLogsByToken | ( | string | inToken, |
| SbGroupChannelChangeLogsParams | inParams, | ||
| SbGroupChannelChangeLogsHandler | inCompletionHandler | ||
| ) |
Requests the channel changelogs from given token. The result is passed to handler.
| inToken | |
| inParams | |
| inCompletionHandler |
| int GetSubscribedCustomTypeTotalUnreadMessageCount | ( | ) |
Gets the total number of unread message of GroupChannels with subscribed custom types.
| int GetSubscribedCustomTypeUnreadMessageCount | ( | string | inCustomType | ) |
Gets the number of unread message of GroupChannel with subscribed custom type.
| inCustomType |
| int GetSubscribedTotalUnreadMessageCount | ( | ) |
Gets the subscribed total number of unread message of all GroupChannels the current user has joined.
| void GetTotalUnreadChannelCount | ( | SbGroupChannelTotalUnreadMessageCountParams | inParams, |
| SbCountHandler | inCompletionHandler | ||
| ) |
Gets the total number of unread GroupChannels the current user has joined.
| inParams | |
| inCompletionHandler |
| void GetTotalUnreadMessageCount | ( | SbGroupChannelTotalUnreadMessageCountParams | inParams, |
| SbUnreadMessageCountHandler | inCompletionHandler | ||
| ) |
Gets the total number of unread message of GroupChannels with SbGroupChannelTotalUnreadMessageCountParams filter.
| inParams | |
| inCompletionHandler |
| void GetUnreadItemCount | ( | List< SbUnreadItemKey > | inKeys, |
| SbUnreadItemCountHandler | inCompletionHandler | ||
| ) |
Gets the unread item count of GroupChannels from keys.
| inKeys | |
| inCompletionHandler |
| SbUnreadMessageCount GetUnreadMessageCount | ( | ) |
Gets the subscribed total unread message of current user.
| void MarkAsDelivered | ( | Dictionary< string, string > | inData, |
| SbErrorHandler | inCompletionHandler | ||
| ) |
Sends mark as delivered to this channel when you received push message from us.
| inData | |
| inCompletionHandler |
| void MarkAsReadAll | ( | SbErrorHandler | inCompletionHandler | ) |
Sends mark as read to all joined GroupChannels. This method has rate limit. You can send one request per second. It returns SendbirdException if you exceed the rate limit.
| inCompletionHandler |
| void MarkAsReadWithChannelUrls | ( | List< string > | inChannelUrls, |
| SbErrorHandler | inCompletionHandler | ||
| ) |
Sends mark as read to joined GroupChannels. This method has rate limit. You can send one request per second.
| inChannelUrls | |
| inCompletionHandler |
| void RemoveAllGroupChannelHandlers | ( | ) |
Removes all channel handlers added by AddGroupChannelHandler.
| void RemoveGroupChannelHandler | ( | string | inIdentifier | ) |
Removes a channel handler. The deleted handler no longer be notified.
| inIdentifier | The identifier for handler. |