SetChatDiscussionGroup class

Changes the discussion group of a channel chat; requires can_change_info administrator right in the channel if it is specified.

Returns Ok.

Inheritance
Available Extensions

Constructors

SetChatDiscussionGroup({required int chat_id, required int discussion_chat_id, int? extra, int? clientId})
Changes the discussion group of a channel chat; requires can_change_info administrator right in the channel if it is specified

Properties

chat_id int
Identifier of the channel chat. Pass 0 to remove a link from the supergroup passed in the second argument to a linked channel chat (requires can_pin_messages rights in the supergroup).
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
discussion_chat_id int
Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups..
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) SetChatDiscussionGroup?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"setChatDiscussionGroup"