RemoveCommunityChat class

Removes a chat from a community. Members of the chat, which aren't members of other chats in the community, will be removed from the community. Requires owner privileges in the supergroup or channel chat, or ownership of the bot for chats with bots, or can_edit_chat_list administrator right in the community Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

RemoveCommunityChat({required int communityId, required int chatId})
const

Properties

chatId → int
chatId Identifier of the chat to remove
final
communityId → int
communityId Identifier of the community
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? communityId, int? chatId}) → RemoveCommunityChat

Available on RemoveCommunityChat, provided by the RemoveCommunityChatExtensions extension

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String