GetMessagePublicForwards class final
GetMessagePublicForwards (getMessagePublicForwards) - TDLib function
Returns forwarded copies of a channel message to different public channels and public reposts as a story. Can be used only if messageProperties.can_get_statistics == true. For optimal performance, the number of returned messages and stories is chosen by TDLib.
- chatId: Chat identifier of the message.
- messageId: Message identifier.
- 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 and stories to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit.
PublicForwards is returned on completion.
- Inheritance
-
- Object
- TdFunction
- GetMessagePublicForwards
Constructors
- GetMessagePublicForwards({required int chatId, required int messageId, required String offset, required int limit})
-
GetMessagePublicForwards (getMessagePublicForwards) - TDLib function
const
Properties
- chatId → int
-
Chat identifier of the message
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
The maximum number of messages and stories to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit
final
- messageId → int
-
Message identifier
final
- 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
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? chatId, int? messageId, String? offset, int? limit}) → GetMessagePublicForwards - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type