Properties
contacts
contacts: { list: (() => Promise<Contact[]>); subscribe: ((listener) => Promise<(() => Promise<BazaarMessage>)>); } = ... Methods
getUser
- getUser(query?): Promise<User>
Parameters
- query: {
handle?: string;
userId?: string;
} = {}Optional
handle?: string
Optional
userId?: string
Returns Promise<User>
openModal
- openModal(withId?, onClose?): void
Parameters
- withId: ((userId) => void) = null
- (userId): void
Returns void
- onClose: (() => void) = null
Returns void
The class that encapsulates the social API