copyWith method
ChatMemberStatusAdministrator
copyWith({
- String? customTitle,
- bool? canBeEdited,
- bool? canManageChat,
- bool? canChangeInfo,
- bool? canPostMessages,
- bool? canEditMessages,
- bool? canDeleteMessages,
- bool? canInviteUsers,
- bool? canRestrictMembers,
- bool? canPinMessages,
- bool? canPromoteMembers,
- bool? canManageVideoChats,
- bool? isAnonymous,
override
Implementation
@override
ChatMemberStatusAdministrator copyWith({
String? customTitle,
bool? canBeEdited,
bool? canManageChat,
bool? canChangeInfo,
bool? canPostMessages,
bool? canEditMessages,
bool? canDeleteMessages,
bool? canInviteUsers,
bool? canRestrictMembers,
bool? canPinMessages,
bool? canPromoteMembers,
bool? canManageVideoChats,
bool? isAnonymous,
}) => ChatMemberStatusAdministrator(
customTitle: customTitle ?? this.customTitle,
canBeEdited: canBeEdited ?? this.canBeEdited,
canManageChat: canManageChat ?? this.canManageChat,
canChangeInfo: canChangeInfo ?? this.canChangeInfo,
canPostMessages: canPostMessages ?? this.canPostMessages,
canEditMessages: canEditMessages ?? this.canEditMessages,
canDeleteMessages: canDeleteMessages ?? this.canDeleteMessages,
canInviteUsers: canInviteUsers ?? this.canInviteUsers,
canRestrictMembers: canRestrictMembers ?? this.canRestrictMembers,
canPinMessages: canPinMessages ?? this.canPinMessages,
canPromoteMembers: canPromoteMembers ?? this.canPromoteMembers,
canManageVideoChats: canManageVideoChats ?? this.canManageVideoChats,
isAnonymous: isAnonymous ?? this.isAnonymous,
);