IRPCEvents.TestMessageToUser

View as Markdown

Vault API / standard write session returns metadata structure version

Checks whether a user can receive notifications, and fails with the reason when not.

ServiceEvents and notifications MFiles.IRPCEvents
gRPC method/MFiles.IRPCEvents/TestMessageToUser
HTTP (mf-http-grpc)POST /grpc/v1/test-message-to-user
RequestTestMessageToUserRequest
ResponseTestMessageToUserResponse
Book and levelVault API, standard
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: TestMessageToUserRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
user_idint32The ID of the user account to check, or -1 for the caller.
test_notifications_disabled_by_userboolTrue to also fail when the user has turned notifications off. Leave false to check only whether requests can reach the user.
send_messageboolMust be false; sending a test message is not supported.

Response: TestMessageToUserResponse

No fields.