Skip to content

Commit 3516285

Browse files
authored
Merge pull request #5 from sotoz/chat_api_integration
Fixed contactId and typo.
2 parents e98e014 + b599d14 commit 3516285

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/chatchannels-create.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//Example for telegram channel
1010

1111
$ChatChannel->name = 'Test Channel Telegram';
12-
$ChatChannel->platform_id = 'e82d332c5649a5f911e569n69040697';
12+
$ChatChannel->platformId = 'e82d332c5649a5f911e569n69040697';
1313

1414
// Channel details is a hash with name-value pairs indicating which channel details (and their respective data types)
1515
// are required when creating a channel for this platform.

examples/chatcontacts-delete.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
try {
88

9-
$deleted = $MessageBird->chatcontacts->delete('4affa2345d7fb22e373921n524df5409'); // Set a message id here
9+
$deleted = $MessageBird->chatcontacts->delete('4affa2345d7fb22e373921n524df5409'); // Set a contact id
1010
var_dump('Deleted : ' . $deleted);
1111

1212
} catch (\MessageBird\Exceptions\AuthenticateException $e) {

0 commit comments

Comments
 (0)