Closed nijholt closed 1 year ago
When posting in topics of channels one has to add the message_thread_id to the payload. Please consider adding this:
message_thread_id
public function to(int|string $chatId, int|string|null $threadId = null): self { $this->payload['chat_id'] = $chatId; if (empty($threadId) === false) { $this-payload['message_thread_id'] = $threadId; } return $this; }
You can use the options method to add extra params to the payload.
Thank you. Save my day 🎉
When posting in topics of channels one has to add the
message_thread_id
to the payload. Please consider adding this: