1. View Public Channels
You can view all public channels even if you are a not member.
TalkPlusApi.GetPublicChannels(lastChannel,
(List<TPChannel> tpChannels, bool hasNext) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
2. Get Joined Channels
View currently joined channels.
TalkPlusApi.GetChannels(lastChannel,
(List<TPChannel> tpChannels, bool hasNext) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
3. Get Hidden Channels
View currently joined channels that have been marked as hidden.
TalkPlusApi.GetHiddenChannels(lastChannel,
(List<TPChannel> tpChannels, bool hasNext) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
4. Get Total Unread Message Count
Get the total number of unread messages from all joined channels.
TalkPlusApi.GetTotalUnreadCount((int totalCount) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
5. Mark All Channels As Read
Mark as read all unread messages from joined channels.
TalkPlusApi.MarkAsReadAllChannel(() => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
6. Search Joined Channels
Search joined channels using various filters.
var queryParams = new TPChannelQueryParams();
queryParams.lastChannel = lastChannel;
queryParams.channelName = channelName;
queryParams.category = category;
queryParams.subcategory = subCategory;
queryParams.privateTag = privateTag;
queryParams.memberIds = memberIds;
queryParams.frozenType = TPChannelFrozenType.TPUnspecifiedFrozenChannel;
TalkPlusApi.SearchChannels(queryParams,
(List<TPChannel> tpChannels, bool hasNext) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
7. Search Public Channels
Search public channels using various filters.
var queryParams = new TPChannelQueryParams();
queryParams.lastChannel = lastChannel;
queryParams.channelName = channelName;
queryParams.category = category;
queryParams.subcategory = subCategory;
queryParams.privateTag = privateTag;
queryParams.memberIds = memberIds;
queryParams.frozenType = TPChannelFrozenType.TPUnspecifiedFrozenChannel;
TalkPlusApi.SearchPublicChannels(queryParams,
(List<TPChannel> tpChannels, bool hasNext) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
Last updated