OnGetPeerOnlineStatusType typedef

OnGetPeerOnlineStatusType = void Function(String peerUid, UserOnlineStatus status)

peerUid:需要查询的用户 ID

status:查询的用户登录状态

Implementation

typedef OnGetPeerOnlineStatusType = void Function(
    String peerUid, UserOnlineStatus status);