Charca / bootbot

Facebook Messenger Bot Framework for Node.js
MIT License
974 stars 253 forks source link

Support getting workplace users #116

Closed shauns closed 5 years ago

shauns commented 6 years ago

Adds method getWorkplaceUserProfile

Charca commented 6 years ago

This method looks almost exactly the same as getUserProfile, can't we reuse the same method by adding an options param so we can check for the workplace version?

shauns commented 6 years ago

Could do -- I kept it separate as the result (i.e. the user profile model) also differs in both cases.