allowMessagesFromGroup abstract method
VKWebAppAllowMessagesFromGroup
allows you to request permission
from the user to send messages on behalf of the community.
Platforms: iOS, Android, Web, Mobile Web
groupId
- group ID.
key
- arbitrary string.
This parameter can be used to authenticate the user.
Its value will be returned in the message_allow event of the Callback API.
Implementation
Future<VKWebAppBoolResult> allowMessagesFromGroup({
required int groupId,
String? key,
});