Skip to content

Commit c4cf9c6

Browse files
committed
Merge pull request #234 from seanlinsley/patch-2
Fix typo in README
2 parents 748d79d + e8be5ae commit c4cf9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ intercom.conversations.reply(:id => conversation.id, :type => 'user', :email =>
191191
# Admin (identified by id) replies with a comment
192192
intercom.conversations.reply(:id => conversation.id, :type => 'admin', :admin_id => '123', :message_type => 'comment', :body => 'bar')
193193
# User (identified by email) replies with a comment and attachment
194-
intercom.conversations.reply(:id => conversation.id, :type => 'user', :email => '[email protected]', :message_type => 'comment', :body => 'foo', :attachment => ['http://www.example.com/attachment.jpg'])
194+
intercom.conversations.reply(:id => conversation.id, :type => 'user', :email => '[email protected]', :message_type => 'comment', :body => 'foo', :attachment_urls => ['http://www.example.com/attachment.jpg'])
195195

196196
# Open
197197
intercom.conversations.open(id: conversation.id, admin_id: '123')

0 commit comments

Comments
 (0)