public static class TdApi.SearchPublicStoriesByTag extends TdApi.Function<TdApi.FoundStories>
Returns FoundStories
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of stories to be returned; up to 100.
|
java.lang.String |
offset
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
|
long |
storySenderChatId
Identifier of the chat that posted the stories to search for; pass 0 to search stories in all chats.
|
java.lang.String |
tag
Hashtag or cashtag to search for.
|
| Constructor and Description |
|---|
SearchPublicStoriesByTag()
Default constructor for a function, which searches for public stories containing the given hashtag or cashtag.
|
SearchPublicStoriesByTag(long storySenderChatId,
java.lang.String tag,
java.lang.String offset,
int limit)
Creates a function, which searches for public stories containing the given hashtag or cashtag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long storySenderChatId
public java.lang.String tag
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public SearchPublicStoriesByTag()
Returns FoundStories
public SearchPublicStoriesByTag(long storySenderChatId,
java.lang.String tag,
java.lang.String offset,
int limit)
Returns FoundStories
storySenderChatId - Identifier of the chat that posted the stories to search for; pass 0 to search stories in all chats.tag - Hashtag or cashtag to search for.offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.limit - 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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object