소스 검색

feat(docs): Add a note that token context doesn't accept number or null

release-8443
Do Le Bao Nguyen 4 년 전
부모
커밋
d28659f730
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      doc/tokens.md

+ 1
- 0
doc/tokens.md 파일 보기

34
   - 'name' is the display name of the user
34
   - 'name' is the display name of the user
35
   - 'email' is the email of the user
35
   - 'email' is the email of the user
36
   - 'avatar' is the URL of the avatar for the user
36
   - 'avatar' is the URL of the avatar for the user
37
+> Note: As the moment all fields in 'user' need to be a valid string, numeric types or `null` will generate an exception.
37
 - 'callee' is an optional object containing display information when launching a 1-1 video call with a single other participant.  It used to display an overlay to the first user, before the second user joins.
38
 - 'callee' is an optional object containing display information when launching a 1-1 video call with a single other participant.  It used to display an overlay to the first user, before the second user joins.
38
   - 'id' is a user identifier string.  Intended for use in reporting/analytics
39
   - 'id' is a user identifier string.  Intended for use in reporting/analytics
39
   - 'name' is the display name of the 'callee' user
40
   - 'name' is the display name of the 'callee' user

Loading…
취소
저장