Module: Lark::Apis::User
- Defined in:
- lib/lark/apis/user.rb
Instance Method Summary collapse
- #batch_get_id(emails: nil, mobiles: nil) ⇒ Object
- #group_list(user_access_token:, page_size: nil, page_token: nil) ⇒ Object
Instance Method Details
#batch_get_id(emails: nil, mobiles: nil) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/lark/apis/user.rb', line 14 def batch_get_id(emails: nil, mobiles: nil) get 'user/v1/batch_get_id', params: { emails: emails, mobiles: mobiles }.compact end |
#group_list(user_access_token:, page_size: nil, page_token: nil) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/lark/apis/user.rb', line 4 def group_list(user_access_token:, page_size: nil, page_token: nil) get 'user/v4/group_list', { access_token: user_access_token, params: { page_size: page_size, page_token: page_token } }.compact end |