GetForumTopics class final
Returns found forum topics in a forum chat. This is a temporary method for getting information about topic list from the server
Returns ForumTopics.
- Inheritance
-
- Object
- TdFunction<
ForumTopics> - GetForumTopics
Constructors
- GetForumTopics({required int chatId, required String query, required int offsetDate, required int offsetMessageId, required int offsetMessageThreadId, required int limit})
-
Returns found forum topics in a forum chat. This is a temporary method for getting information about topic list from the server
const
Properties
- canBeCalledSynchronously → bool
-
Whether TDLib documents this request as callable through
td_execute.no setterinherited - chatId → int
-
Identifier of the forum chat
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
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
final
- offsetDate → int
-
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
final
- offsetMessageId → int
-
The message identifier of the last message in the last found topic, or 0 for the first request
final
- offsetMessageThreadId → int
-
The message thread identifier of the last found topic, or 0 for the first request
final
- query → String
-
Query to search for in the forum topic's name
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? chatId, String? query, int? offsetDate, int? offsetMessageId, int? offsetMessageThreadId, int? limit}) → GetForumTopics -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib function name, e.g.
getMe.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Converts this request to TDLib JSON, tagged with
extraif given.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.