@@ -1132,7 +1132,7 @@ public function unbanChatMember($chatId, $userId)
1132
1132
* The answer will be displayed to the user as a notification at the top of the chat screen or as an alert.
1133
1133
*
1134
1134
* @param $callbackQueryId
1135
- * @param null $text
1135
+ * @param string| null $text
1136
1136
* @param bool $showAlert
1137
1137
*
1138
1138
* @return bool
@@ -1257,8 +1257,8 @@ public function editMessageCaption(
1257
1257
* @param $chatId
1258
1258
* @param $messageId
1259
1259
* @param InputMedia $media
1260
- * @param null $inlineMessageId
1261
- * @param null $replyMarkup
1260
+ * @param string| null $inlineMessageId
1261
+ * @param string| null $replyMarkup
1262
1262
* @return bool|Message
1263
1263
* @throws Exception
1264
1264
* @throws HttpException
@@ -1902,14 +1902,14 @@ public function setProxy($proxyString = '', $socks5 = false)
1902
1902
* @param string $question Poll question, 1-255 characters
1903
1903
* @param array $options A JSON-serialized list of answer options, 2-10 strings 1-100 characters each
1904
1904
* @param bool $isAnonymous True, if the poll needs to be anonymous, defaults to True
1905
- * @param null $type Poll type, “quiz” or “regular”, defaults to “regular”
1905
+ * @param string| null $type Poll type, “quiz” or “regular”, defaults to “regular”
1906
1906
* @param bool $allowsMultipleAnswers True, if the poll allows multiple answers,
1907
1907
* ignored for polls in quiz mode, defaults to False
1908
- * @param null $correctOptionId 0-based identifier of the correct answer option, required for polls in quiz mode
1908
+ * @param string| null $correctOptionId 0-based identifier of the correct answer option, required for polls in quiz mode
1909
1909
* @param bool $isClosed Pass True, if the poll needs to be immediately closed. This can be useful for poll preview.
1910
1910
* @param bool $disableNotification Sends the message silently. Users will receive a notification with no sound.
1911
1911
* @param int|null $replyToMessageId If the message is a reply, ID of the original message
1912
- * @param null $replyMarkup Additional interface options. A JSON-serialized object for an inline keyboard,
1912
+ * @param object| null $replyMarkup Additional interface options. A JSON-serialized object for an inline keyboard,
1913
1913
* custom reply keyboard, instructions to remove reply
1914
1914
* keyboard or to force a reply from the user.
1915
1915
* @return \TelegramBot\Api\Types\Message
@@ -1956,10 +1956,10 @@ public function sendPoll(
1956
1956
* “🎯”, “🏀”, “⚽”, or “🎰”. Dice can have values 1-6 for “🎲” and “🎯”, values 1-5 for “🏀” and “⚽”, and
1957
1957
* values 1-64 for “🎰”. Defaults to “🎲
1958
1958
* @param bool $disableNotification Sends the message silently. Users will receive a notification with no sound.
1959
- * @param null $replyToMessageId If the message is a reply, ID of the original message
1959
+ * @param string| null $replyToMessageId If the message is a reply, ID of the original message
1960
1960
* @param bool $$allowSendingWithoutReply Pass True, if the message should be sent even if the specified replied-to
1961
1961
* message is not found,
1962
- * @param null $replyMarkup Additional interface options. A JSON-serialized object for an inline keyboard,
1962
+ * @param object| null $replyMarkup Additional interface options. A JSON-serialized object for an inline keyboard,
1963
1963
* custom reply keyboard, instructions to remove reply
1964
1964
* keyboard or to force a reply from the user.
1965
1965
*
0 commit comments