Interface InternalLinkTypeDirectMessagesChat

The link is a link to a channel direct messages chat by the username of the channel. Call searchPublicChat with the given chat username to process the link. If the chat is found and is a channel, open the direct messages chat of the channel. Subtype of InternalLinkType.

interface InternalLinkTypeDirectMessagesChat {
    @type: "internalLinkTypeDirectMessagesChat";
    channel_username: string;
}

Properties

@type: "internalLinkTypeDirectMessagesChat"
channel_username: string

Username of the channel.