Skip to content

Commit

Permalink
Small fixes in PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
POPSuL committed May 26, 2016
1 parent a246049 commit b5999c5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/BotApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function sendMessage(
/**
* Use this method to send phone contacts
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param string $phoneNumber
* @param string $firstName
* @param string $lastName
Expand Down Expand Up @@ -495,7 +495,7 @@ public function sendLocation(
/**
* Use this method to send information about a venue. On success, the sent Message is returned.
*
* @param int|string $chatId
* @param int|string $chatId chat_id or @channel_name
* @param float $latitude
* @param float $longitude
* @param string $title
Expand Down Expand Up @@ -535,7 +535,7 @@ public function sendVenue(
/**
* Use this method to send .webp stickers. On success, the sent Message is returned.
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param \CURLFile|string $sticker
* @param int|null $replyToMessageId
* @param Types\ReplyKeyboardMarkup|Types\ReplyKeyboardHide|Types\ForceReply|null $replyMarkup
Expand Down Expand Up @@ -566,7 +566,7 @@ public function sendSticker(
* Telegram clients support mp4 videos (other formats may be sent as Document).
* On success, the sent Message is returned.
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param \CURLFile|string $video
* @param int|null $duration
* @param string|null $caption
Expand Down Expand Up @@ -606,7 +606,7 @@ public function sendVideo(
* On success, the sent Message is returned.
* Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param \CURLFile|string $voice
* @param int|null $duration
* @param int|null $replyToMessageId
Expand Down Expand Up @@ -638,7 +638,7 @@ public function sendVoice(
/**
* Use this method to forward messages of any kind. On success, the sent Message is returned.
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param int $fromChatId
* @param int $messageId
* @param bool $disableNotification
Expand Down Expand Up @@ -673,7 +673,7 @@ public function forwardMessage($chatId, $fromChatId, $messageId, $disableNotific
* Voice messages now must be sent using the method sendVoice.
* There is no more need to specify a non-empty title or performer while sending the audio by file_id.
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param \CURLFile|string $audio
* @param int|null $duration
* @param string|null $performer
Expand Down Expand Up @@ -711,7 +711,7 @@ public function sendAudio(
/**
* Use this method to send photos. On success, the sent Message is returned.
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param \CURLFile|string $photo
* @param string|null $caption
* @param int|null $replyToMessageId
Expand Down Expand Up @@ -744,7 +744,7 @@ public function sendPhoto(
* Use this method to send general files. On success, the sent Message is returned.
* Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
*
* @param int $chatId
* @param int|string $chatId chat_id or @channel_name
* @param \CURLFile|string $document
* @param int|null $replyToMessageId
* @param Types\ReplyKeyboardMarkup|Types\ReplyKeyboardHide|Types\ForceReply|null $replyMarkup
Expand Down

0 comments on commit b5999c5

Please sign in to comment.