Class: KHL::HTTP::ChannelUser
Overview
Constant Summary
Constants inherited from Base
Base::API_VERSION, Base::BASE_URL, Base::END_POINT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#get_joined_channel(guild_id, user_id, options = {}) ⇒ KHL::HTTP::Response
根据用户 ID 和服务器 ID 获取用户所在语音频道.
Methods inherited from Base
#get, #initialize, #post, #post_file
Constructor Details
This class inherits a constructor from KHL::HTTP::Base
Instance Method Details
#get_joined_channel(guild_id, user_id, options = {}) ⇒ KHL::HTTP::Response
根据用户 ID 和服务器 ID 获取用户所在语音频道
17 18 19 |
# File 'lib/khl/http/channel_user.rb', line 17 def get_joined_channel(guild_id, user_id, = {}) get(.merge(guild_id: guild_id, user_id: user_id)) end |