getRemainingInfo

Requires:
@ray-js/lock-sdk≥1.0.0

Method signature
getRemainingInfo()

Description

Get remaining notification count

Parameters

None

Return Value

Type: Promise<RemainingInfo>
Remaining SMS and voice notification count
RemainingInfo
PropertyTypeDescription
messagenumberRemaining SMS notification count
phonenumberRemaining voice notification count

Examples

import { getRemainingInfo } from '@ray-js/lock-sdk';
const info = await getRemainingInfo();