@@ -1132,7 +1132,7 @@ public function unbanChatMember($chatId, $userId)
11321132 * The answer will be displayed to the user as a notification at the top of the chat screen or as an alert.
11331133 *
11341134 * @param $callbackQueryId
1135- * @param null $text
1135+ * @param string| null $text
11361136 * @param bool $showAlert
11371137 *
11381138 * @return bool
@@ -1257,8 +1257,8 @@ public function editMessageCaption(
12571257 * @param $chatId
12581258 * @param $messageId
12591259 * @param InputMedia $media
1260- * @param null $inlineMessageId
1261- * @param null $replyMarkup
1260+ * @param string| null $inlineMessageId
1261+ * @param string| null $replyMarkup
12621262 * @return bool|Message
12631263 * @throws Exception
12641264 * @throws HttpException
@@ -1902,14 +1902,14 @@ public function setProxy($proxyString = '', $socks5 = false)
19021902 * @param string $question Poll question, 1-255 characters
19031903 * @param array $options A JSON-serialized list of answer options, 2-10 strings 1-100 characters each
19041904 * @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”
19061906 * @param bool $allowsMultipleAnswers True, if the poll allows multiple answers,
19071907 * 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
19091909 * @param bool $isClosed Pass True, if the poll needs to be immediately closed. This can be useful for poll preview.
19101910 * @param bool $disableNotification Sends the message silently. Users will receive a notification with no sound.
19111911 * @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,
19131913 * custom reply keyboard, instructions to remove reply
19141914 * keyboard or to force a reply from the user.
19151915 * @return \TelegramBot\Api\Types\Message
@@ -1956,10 +1956,10 @@ public function sendPoll(
19561956 * “🎯”, “🏀”, “⚽”, or “🎰”. Dice can have values 1-6 for “🎲” and “🎯”, values 1-5 for “🏀” and “⚽”, and
19571957 * values 1-64 for “🎰”. Defaults to “🎲
19581958 * @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
19601960 * @param bool $$allowSendingWithoutReply Pass True, if the message should be sent even if the specified replied-to
19611961 * 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,
19631963 * custom reply keyboard, instructions to remove reply
19641964 * keyboard or to force a reply from the user.
19651965 *
0 commit comments