copyWith method
KeyboardButtonTypeRequestChat
copyWith({
- int? id,
- bool? chatIsChannel,
- bool? restrictChatIsForum,
- bool? chatIsForum,
- bool? restrictChatHasUsername,
- bool? chatHasUsername,
- bool? chatIsCreated,
- ChatAdministratorRights? userAdministratorRights,
- ChatAdministratorRights? botAdministratorRights,
- bool? botIsMember,
override
Implementation
@override
KeyboardButtonTypeRequestChat copyWith({
int? id,
bool? chatIsChannel,
bool? restrictChatIsForum,
bool? chatIsForum,
bool? restrictChatHasUsername,
bool? chatHasUsername,
bool? chatIsCreated,
ChatAdministratorRights? userAdministratorRights,
ChatAdministratorRights? botAdministratorRights,
bool? botIsMember,
}) =>
KeyboardButtonTypeRequestChat(
id: id ?? this.id,
chatIsChannel: chatIsChannel ?? this.chatIsChannel,
restrictChatIsForum: restrictChatIsForum ?? this.restrictChatIsForum,
chatIsForum: chatIsForum ?? this.chatIsForum,
restrictChatHasUsername:
restrictChatHasUsername ?? this.restrictChatHasUsername,
chatHasUsername: chatHasUsername ?? this.chatHasUsername,
chatIsCreated: chatIsCreated ?? this.chatIsCreated,
userAdministratorRights:
userAdministratorRights ?? this.userAdministratorRights,
botAdministratorRights:
botAdministratorRights ?? this.botAdministratorRights,
botIsMember: botIsMember ?? this.botIsMember,
);