You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could I please know how to send message to group chat (thread id) as the similar request below,
$test = [
'recipient' => [ 'thread_key' => '<THREAD_ID>',
],
'message' => [
'text' => 'hello, world - group chat!'
]
];
I understand that a send method $bot->send('', 'text message.')); call 'recipient' ==> 'id' always.
$test = [
'recipient' => [ 'id' => '<Sender_ID>',
],
'message' => [
'text' => 'hello, world!'
]
];
so is there a way to call the method as $bot->send('<thread_id>', 'text message.'));
The text was updated successfully, but these errors were encountered:
Could I please know how to send message to group chat (thread id) as the similar request below,
$test = [
'recipient' => [
'thread_key' => '<THREAD_ID>',
],
'message' => [
'text' => 'hello, world - group chat!'
]
];
I understand that a send method $bot->send('', 'text message.')); call 'recipient' ==> 'id' always.
$test = [
'recipient' => [
'id' => '<Sender_ID>',
],
'message' => [
'text' => 'hello, world!'
]
];
so is there a way to call the method as $bot->send('<thread_id>', 'text message.'));
The text was updated successfully, but these errors were encountered: