Method: Twilio::REST::Conversations::V1::ServiceContext::ConversationContext::MessageContext#initialize

Defined in:
lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb

#initialize(version, chat_service_sid, conversation_sid, sid) ⇒ MessageContext

Initialize the MessageContext

Parameters:



200
201
202
203
204
205
206
207
208
209
# File 'lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb', line 200

def initialize(version, chat_service_sid, conversation_sid, sid)
    super(version)

    # Path Solution
    @solution = { chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, sid: sid,  }
    @uri = "/Services/#{@solution[:chat_service_sid]}/Conversations/#{@solution[:conversation_sid]}/Messages/#{@solution[:sid]}"

    # Dependents
    @delivery_receipts = nil
end