Interface SearchPublicChat

Searches a public chat by its username. Currently, only private chats, supergroups and channels can be public. Returns the chat if found; otherwise, an error is returned. Request type for Tdjson#searchPublicChat.

interface SearchPublicChat {
    @type: "searchPublicChat";
    username: string;
}

Properties

Properties

@type: "searchPublicChat"
username: string

Username to be resolved.