CheckCreatedPublicChatsLimit class
- Inheritance
-
- Object
- TdFunction
- CheckCreatedPublicChatsLimit
Constructors
- CheckCreatedPublicChatsLimit({required PublicChatType type})
-
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached. The limit can be increased with Telegram Premium
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → PublicChatType
-
type Type of the public chats, for which to check the limit
final
Methods
-
copyWith(
{PublicChatType? type}) → CheckCreatedPublicChatsLimit -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String