lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.11.2 vs lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.12.0
- old
+ new
@@ -178,12 +178,15 @@
class UserContext < InstanceContext
##
# Initialize the UserContext
# @param [Version] version Version that contains the resource
- # @param [String] service_sid The service_sid
- # @param [String] sid The sid
+ # @param [String] service_sid Sid of the
+ # [Service](https://www.twilio.com/docs/api/chat/rest/services) this user belongs
+ # to.
+ # @param [String] sid Key that uniquely defines the user to fetch. Could be Sid or
+ # Identity.
# @return [UserContext] UserContext
def initialize(version, service_sid, sid)
super(version)
# Path Solution
@@ -295,10 +298,11 @@
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
# @param [String] service_sid The unique id of the
# [Service](https://www.twilio.com/docs/api/chat/rest/services) this user belongs
# to.
- # @param [String] sid The sid
+ # @param [String] sid Key that uniquely defines the user to fetch. Could be Sid or
+ # Identity.
# @return [UserInstance] UserInstance
def initialize(version, payload, service_sid: nil, sid: nil)
super(version)
# Marshaled Properties
\ No newline at end of file