KeyboardButtonTypeRequestChat constructor

KeyboardButtonTypeRequestChat({
  1. required int id,
  2. required bool chatIsChannel,
  3. required bool restrictChatIsForum,
  4. required bool chatIsForum,
  5. required bool restrictChatHasUsername,
  6. required bool chatHasUsername,
  7. required bool chatIsCreated,
  8. ChatAdministratorRights? userAdministratorRights,
  9. ChatAdministratorRights? botAdministratorRights,
  10. required bool botIsMember,
  11. required bool requestTitle,
  12. required bool requestUsername,
  13. required bool requestPhoto,
})

Implementation

KeyboardButtonTypeRequestChat({
  required this.id,
  required this.chatIsChannel,
  required this.restrictChatIsForum,
  required this.chatIsForum,
  required this.restrictChatHasUsername,
  required this.chatHasUsername,
  required this.chatIsCreated,
  this.userAdministratorRights,
  this.botAdministratorRights,
  required this.botIsMember,
  required this.requestTitle,
  required this.requestUsername,
  required this.requestPhoto,
});