getManagedConfig method

  1. @override
Future<ChatResult<ManagedUserConfiguration>> getManagedConfig(
  1. String userId
)
override

Gets the configuration of a managed user (webhooks, metadata).

Use from an admin/integration panel to inspect the webhook URL that the backend will POST to when the managed user receives messages, plus arbitrary metadata used by the parent app.

Implementation

@override
Future<ChatResult<ManagedUserConfiguration>> getManagedConfig(
  String userId,
) async => const ChatSuccess(UserConfiguration());