public static class TdApi.GetForumTopics extends TdApi.Function<TdApi.ForumTopics>
Returns ForumTopics
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the forum chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of forum topics to be returned; up to 100.
|
int |
offsetDate
The date starting from which the results need to be fetched.
|
long |
offsetMessageId
The message identifier of the last message in the last found topic, or 0 for the first request.
|
long |
offsetMessageThreadId
The message thread identifier of the last found topic, or 0 for the first request.
|
java.lang.String |
query
Query to search for in the forum topic's name.
|
| Constructor and Description |
|---|
GetForumTopics()
Default constructor for a function, which returns found forum topics in a forum chat.
|
GetForumTopics(long chatId,
java.lang.String query,
int offsetDate,
long offsetMessageId,
long offsetMessageThreadId,
int limit)
Creates a function, which returns found forum topics in a forum chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public java.lang.String query
public int offsetDate
public long offsetMessageId
public long offsetMessageThreadId
public int limit
public static final int CONSTRUCTOR
public GetForumTopics()
Returns ForumTopics
public GetForumTopics(long chatId,
java.lang.String query,
int offsetDate,
long offsetMessageId,
long offsetMessageThreadId,
int limit)
Returns ForumTopics
chatId - Identifier of the forum chat.query - Query to search for in the forum topic's name.offsetDate - The date starting from which the results need to be fetched. Use 0 or any date in the future to get results from the last topic.offsetMessageId - The message identifier of the last message in the last found topic, or 0 for the first request.offsetMessageThreadId - The message thread identifier of the last found topic, or 0 for the first request.limit - The maximum number of forum topics to be returned; up to 100. For optimal performance, the number of returned forum topics is chosen by TDLib and can be smaller than the specified limit.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object