RoomInvitation
accept room invitation
Last updated
Was this helpful?
accept room invitation
Last updated
Was this helpful?
accept room invitation
Kind: global class
⇒ Promise <void>
⇒ Promise <Contact>
⇒ Promise <string>
⇒ Promise <string>
⇒ Promise <Date>
⇒ Promise <number>
Promise <void>
Accept Room Invitation
Kind: instance method of Example
Promise <Contact>
Get the inviter from room invitation
Promise <string>
Get the room topic from room invitation
Promise <Date>
Get the invitation time
Promise <number>
Returns the roopm invitation age in seconds.
For example, the invitation is sent at time 8:43:01
, and when we received it in Wechaty, the time is 8:43:15
, then the age() will return 8:43:15 - 8:43:01 = 14 (seconds)
Kind: instance method of Example
Kind: instance method of Example
Kind: instance method of Deprecated:: use topic() instead
Kind: instance method of
Kind: instance method of