Skip to content

Commit

Permalink
v4.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mathews-cometchat committed Jun 6, 2024
1 parent b799e78 commit 12c7f1f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
25 changes: 23 additions & 2 deletions CometChat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,13 @@ export namespace CometChat {
*/
export function markAsInteracted(messageId: string | any, elementId: string): Promise<string>;

/**
* Retrieves the ConversationUpdateSettings.
*
* @return A ConversationUpdateSettings object that holds the settings for updating the conversation.
*/
export function getConversationUpdateSettings(): Promise<ConversationUpdateSettings>;


/**
*
Expand Down Expand Up @@ -2914,6 +2921,11 @@ export const APP_SETTINGS: {
SETTINGS_HASH: string;
SETTINGS_HASH_RECEIVED_AT: string;
APP_VERSION: string;
PARAMETERS: string;
CORE_CONVERSATIONS_UPDATE_ON_CALL_ACTIVITIES: string;
CORE_CONVERSATIONS_UPDATE_ON_GROUP_ACTIONS: string;
CORE_CONVERSATIONS_UPDATE_ON_CUSTOM_MESSAGES: string;
CORE_CONVERSATIONS_UPDATE_ON_REPLIES: string;
};
};
export const COMMON_UTILITY_CONSTANTS: {
Expand Down Expand Up @@ -3462,8 +3474,8 @@ export class Call extends BaseMessage implements Message {
protected initiatedAt: number;
protected joinedAt: number;
protected data: any;
protected callInitiator: object;
protected callReceiver: object;
protected callInitiator: User;
protected callReceiver: User | Group;
/**
* @memberof {@link CometChat | CometChat }
* @param receiverId
Expand Down Expand Up @@ -4586,6 +4598,15 @@ export class AppSettings {
*/
getClientHost(): string;
}

export class ConversationUpdateSettings {
constructor();
shouldUpdateOnCallActivities(): boolean;
shouldUpdateOnGroupActions(): boolean;
shouldUpdateOnCustomMessages(): boolean;
shouldUpdateOnMessageReplies(): boolean;
static fromJSON(jsonData: Object): ConversationUpdateSettings;
}
export class AppSettingsBuilder {
/** @private */
subscriptionType: string;
Expand Down
2 changes: 1 addition & 1 deletion CometChat.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cometchat/chat-sdk-react-native",
"version": "4.0.7",
"version": "4.0.8",
"description": "A complete chat solution.",
"main": "CometChat.js",
"scripts": {
Expand Down

0 comments on commit 12c7f1f

Please sign in to comment.