Skip to main content

ConversationTitle

type ConversationTitle = {
includesYou: boolean;
names: string[];
othersCount: number;
type: ConversationTitleType;
};

A conversation's title, ready for the caller to word in the user's language.

Properties​

includesYou​

includesYou: boolean;

For a group down to you and one other person, whether to add "you", as in "Bob J. and you", so it doesn't read like your 1:1 with them.


names​

names: string[];

The names to show, in order.


othersCount​

othersCount: number;

For a group, how many more people there are than names.


type​

type: ConversationTitleType;

How to show the title.