public static class TdApi.SearchPublicMessagesByTag extends TdApi.Function<TdApi.FoundMessages>
Returns FoundMessages
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of messages 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.
|
java.lang.String |
tag
Hashtag or cashtag to search for.
|
| Constructor and Description |
|---|
SearchPublicMessagesByTag()
Default constructor for a function, which searches for public channel posts containing the given hashtag or cashtag.
|
SearchPublicMessagesByTag(java.lang.String tag,
java.lang.String offset,
int limit)
Creates a function, which searches for public channel posts containing the given hashtag or cashtag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String tag
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public SearchPublicMessagesByTag()
Returns FoundMessages
public SearchPublicMessagesByTag(java.lang.String tag,
java.lang.String offset,
int limit)
Returns FoundMessages
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 messages to be returned; up to 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object