@@ -320,7 +320,7 @@ public function sendMessage(
320320 /**
321321 * Use this method to send phone contacts
322322 *
323- * @param int $chatId
323+ * @param int|string $chatId chat_id or @channel_name
324324 * @param string $phoneNumber
325325 * @param string $firstName
326326 * @param string $lastName
@@ -495,7 +495,7 @@ public function sendLocation(
495495 /**
496496 * Use this method to send information about a venue. On success, the sent Message is returned.
497497 *
498- * @param int|string $chatId
498+ * @param int|string $chatId chat_id or @channel_name
499499 * @param float $latitude
500500 * @param float $longitude
501501 * @param string $title
@@ -535,7 +535,7 @@ public function sendVenue(
535535 /**
536536 * Use this method to send .webp stickers. On success, the sent Message is returned.
537537 *
538- * @param int $chatId
538+ * @param int|string $chatId chat_id or @channel_name
539539 * @param \CURLFile|string $sticker
540540 * @param int|null $replyToMessageId
541541 * @param Types\ReplyKeyboardMarkup|Types\ReplyKeyboardHide|Types\ForceReply|null $replyMarkup
@@ -566,7 +566,7 @@ public function sendSticker(
566566 * Telegram clients support mp4 videos (other formats may be sent as Document).
567567 * On success, the sent Message is returned.
568568 *
569- * @param int $chatId
569+ * @param int|string $chatId chat_id or @channel_name
570570 * @param \CURLFile|string $video
571571 * @param int|null $duration
572572 * @param string|null $caption
@@ -606,7 +606,7 @@ public function sendVideo(
606606 * On success, the sent Message is returned.
607607 * Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
608608 *
609- * @param int $chatId
609+ * @param int|string $chatId chat_id or @channel_name
610610 * @param \CURLFile|string $voice
611611 * @param int|null $duration
612612 * @param int|null $replyToMessageId
@@ -638,7 +638,7 @@ public function sendVoice(
638638 /**
639639 * Use this method to forward messages of any kind. On success, the sent Message is returned.
640640 *
641- * @param int $chatId
641+ * @param int|string $chatId chat_id or @channel_name
642642 * @param int $fromChatId
643643 * @param int $messageId
644644 * @param bool $disableNotification
@@ -673,7 +673,7 @@ public function forwardMessage($chatId, $fromChatId, $messageId, $disableNotific
673673 * Voice messages now must be sent using the method sendVoice.
674674 * There is no more need to specify a non-empty title or performer while sending the audio by file_id.
675675 *
676- * @param int $chatId
676+ * @param int|string $chatId chat_id or @channel_name
677677 * @param \CURLFile|string $audio
678678 * @param int|null $duration
679679 * @param string|null $performer
@@ -711,7 +711,7 @@ public function sendAudio(
711711 /**
712712 * Use this method to send photos. On success, the sent Message is returned.
713713 *
714- * @param int $chatId
714+ * @param int|string $chatId chat_id or @channel_name
715715 * @param \CURLFile|string $photo
716716 * @param string|null $caption
717717 * @param int|null $replyToMessageId
@@ -744,7 +744,7 @@ public function sendPhoto(
744744 * Use this method to send general files. On success, the sent Message is returned.
745745 * Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
746746 *
747- * @param int $chatId
747+ * @param int|string $chatId chat_id or @channel_name
748748 * @param \CURLFile|string $document
749749 * @param int|null $replyToMessageId
750750 * @param Types\ReplyKeyboardMarkup|Types\ReplyKeyboardHide|Types\ForceReply|null $replyMarkup
0 commit comments