-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Feature] Room.{create,addMember,delMember,quit,modTopic} support #32
Comments
huan
added a commit
that referenced
this issue
Oct 5, 2016
huan
added a commit
that referenced
this issue
Oct 5, 2016
huan
added a commit
that referenced
this issue
Oct 5, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
according to the original issue #14
Room Factory of WxApp
Room Class of Wechaty
1. static Room.find(query: Query): Promise<Room|null>
2. static Room.findAll(query: Query): Promise<Room[]>
3. static Room.create(contactList: Contact[]): Promise
4. Room.add(contact: Contact): Promise
5. Room.del(contact: Contact): void
6. Room.topic(newTopic?: string): string
7. Room.nick(contact: Contact): string
8. Room.has(contact Contact): boolean
10. Room.on('join', (invitee, inviter) => void)
Event
join
: Room New Member11. Room.on('leave', (leaver) => void)
12. Room.refresh(): Promise
13. Room.owner(): Contact|null
14. Room.member(name: string): Contact|null
The text was updated successfully, but these errors were encountered: