Interface SearchPublicStoriesByTag

Searches for public stories containing the given hashtag or cashtag. For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit. Request type for Tdjson#searchPublicStoriesByTag.

interface SearchPublicStoriesByTag {
    @type: "searchPublicStoriesByTag";
    limit: number;
    offset: string;
    story_sender_chat_id: number;
    tag: string;
}

Properties

@type: "searchPublicStoriesByTag"
limit: number

The maximum number of stories to be returned; up to 100. For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit.

offset: string

Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.

story_sender_chat_id: number

Identifier of the chat that posted the stories to search for; pass 0 to search stories in all chats.

tag: string

Hashtag or cashtag to search for.