Skip to content

Commit b599d14

Browse files
author
sotiris
committed
Fixed contactId and typo.
1 parent cb51812 commit b599d14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/chatchannels-create.php

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)