ToggleSupergroupJoinToSendMessages class
- Inheritance
-
- Object
- TdFunction
- ToggleSupergroupJoinToSendMessages
Constructors
- ToggleSupergroupJoinToSendMessages({required int supergroupId, required bool joinToSendMessages})
-
Toggles whether joining is mandatory to send messages to a discussion supergroup; requires can_restrict_members administrator right
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- joinToSendMessages → bool
-
joinToSendMessages New value of join_to_send_messages
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supergroupId → int
-
supergroupId Identifier of the supergroup
final
Methods
-
copyWith(
{int? supergroupId, bool? joinToSendMessages}) → ToggleSupergroupJoinToSendMessages -
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