KeyboardButtonTypeRequestChat constructor
const
KeyboardButtonTypeRequestChat({
- required int id,
- required bool chatIsChannel,
- required bool restrictChatIsForum,
- required bool chatIsForum,
- required bool restrictChatHasUsername,
- required bool chatHasUsername,
- required bool chatIsCreated,
- ChatAdministratorRights? userAdministratorRights,
- ChatAdministratorRights? botAdministratorRights,
- required bool botIsMember,
A button that requests a chat to be shared by the current user; available only in private chats. Use the method shareChatWithBot to complete the request
Implementation
const 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,
});