diff --git a/src/Facades/Telegram.php b/src/Facades/Telegram.php index c8a43a9..f1366ee 100644 --- a/src/Facades/Telegram.php +++ b/src/Facades/Telegram.php @@ -56,7 +56,7 @@ /** * @method static int getBotId() - * @method static void setRunningMode(string|mixed $classOrInstance) + * @method static void setRunningMode(string|\SergiX44\Nutgram\RunningMode\RunningMode $classOrInstance) * @method static void run() * @method static void processUpdate(\SergiX44\Nutgram\Telegram\Types\Common\Update $update) * @method static \SergiX44\Nutgram\Nutgram stepConversation(\SergiX44\Nutgram\Conversations\Conversation|callable $callable, int|null $userId = null, int|null $chatId = null, int|null $threadId = null) @@ -68,7 +68,240 @@ * @method static void registerMyCommands() * @method static \SergiX44\Nutgram\Support\BulkMessenger getBulkMessenger() * @method static mixed invoke(callable|array|string $callable, array $params = []) + * @method static \SergiX44\Nutgram\Nutgram withProgress(callable|object|array|string $callable) + * @method static mixed sendRequest(string $endpoint, array $parameters = [], array $options = []) + * @method static bool|null downloadFile(\SergiX44\Nutgram\Telegram\Types\Media\File $file, string $path, array $clientOpt = []) + * @method static string|null downloadUrl(\SergiX44\Nutgram\Telegram\Types\Media\File $file) + * @method static \SergiX44\Nutgram\Telegram\Types\User\User|null getMe() + * @method static bool|null logOut() + * @method static bool|null close() + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendMessage(string $text, int|string|null $chat_id = null, int|null $message_thread_id = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $entities = null, bool|null $disable_web_page_preview = null, \SergiX44\Nutgram\Telegram\Types\Message\LinkPreviewOptions|null $link_preview_options = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null forwardMessage(int|string $chat_id, int|string $from_chat_id, int $message_id, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $video_start_timestamp = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, string|null $message_effect_id = null) + * @method static array|null forwardMessages(int|string $chat_id, int|string $from_chat_id, array $message_ids, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $direct_messages_topic_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\MessageId|null copyMessage(int|string $chat_id, int|string $from_chat_id, int $message_id, int|null $message_thread_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, bool|null $show_caption_above_media = null, bool|null $allow_paid_broadcast = null, int|null $video_start_timestamp = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, string|null $message_effect_id = null) + * @method static array|null copyMessages(int|string $chat_id, int|string $from_chat_id, int|null $message_thread_id = null, array|null $message_ids = null, bool|null $disable_notification = null, bool|null $protect_content = null, bool|null $remove_caption = null, int|null $direct_messages_topic_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendPhoto(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $photo, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, bool|null $show_caption_above_media = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendAudio(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $audio, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, int|null $duration = null, string|null $performer = null, string|null $title = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendDocument(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $document, int|string|null $chat_id = null, int|null $message_thread_id = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $disable_content_type_detection = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendVideo(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $video, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $supports_streaming = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, bool|null $show_caption_above_media = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $cover = null, int|null $start_timestamp = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendAnimation(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $animation, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, bool|null $show_caption_above_media = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendVoice(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $voice, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, int|null $duration = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendVideoNote(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $video_note, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $length = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendPaidMedia(int $star_count, array $media, int|string|null $chat_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $show_caption_above_media = null, bool|null $disable_notification = null, bool|null $protect_content = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $payload = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, int|null $message_thread_id = null, array $clientOpt = []) + * @method static array|null sendMediaGroup(array $media, int|string|null $chat_id = null, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendLocation(float $latitude, float $longitude, int|string|null $chat_id = null, int|null $message_thread_id = null, float|null $horizontal_accuracy = null, int|null $live_period = null, int|null $heading = null, int|null $proximity_alert_radius = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|bool|null stopMessageLiveLocation(int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendVenue(float $latitude, float $longitude, string $title, string $address, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $foursquare_id = null, string|null $foursquare_type = null, string|null $google_place_id = null, string|null $google_place_type = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendContact(string $phone_number, string $first_name, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $last_name = null, string|null $vcard = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendPoll(string $question, array $options, int|string|null $chat_id = null, int|null $message_thread_id = null, bool|null $is_anonymous = null, \SergiX44\Nutgram\Telegram\Properties\PollType|string|null $type = null, bool|null $allows_multiple_answers = null, int|null $correct_option_id = null, string|null $explanation = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $explanation_parse_mode = null, array|null $explanation_entities = null, int|null $open_period = null, int|null $close_date = null, bool|null $is_closed = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $question_parse_mode = null, array|null $question_entities = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendChecklist(\SergiX44\Nutgram\Telegram\Types\Checklist\InputChecklist $checklist, string|null $business_connection_id = null, int|null $chat_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, string|null $message_effect_id = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendDice(int|string|null $chat_id = null, int|null $message_thread_id = null, \SergiX44\Nutgram\Telegram\Properties\DiceEmoji|string|null $emoji = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null) + * @method static bool|null sendMessageDraft(int $draft_id, string $text, int|null $chat_id = null, int|null $message_thread_id = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $entities = null) + * @method static bool|null sendChatAction(\SergiX44\Nutgram\Telegram\Properties\ChatAction|string $action, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $business_connection_id = null) + * @method static bool|null setMessageReaction(array|null $reaction = null, bool|null $is_big = null, int|string|null $chat_id = null, int|null $message_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\User\UserProfilePhotos|null getUserProfilePhotos(int|null $user_id = null, int|null $offset = null, int|null $limit = null) + * @method static \SergiX44\Nutgram\Telegram\Types\User\UserProfileAudios|null getUserProfileAudios(int|null $user_id = null, int|null $offset = null, int|null $limit = null) + * @method static bool|null setUserEmojiStatus(string|null $emoji_status_custom_emoji_id = null, int|null $emoji_status_expiration_date = null, int|null $user_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Media\File|null getFile(string $file_id) + * @method static bool|null banChatMember(int|string $chat_id, int $user_id, int|null $until_date = null, bool|null $revoke_messages = null) + * @method static bool|null unbanChatMember(int|string $chat_id, int $user_id, bool|null $only_if_banned = null) + * @method static bool|null restrictChatMember(int|string $chat_id, int $user_id, \SergiX44\Nutgram\Telegram\Types\Chat\ChatPermissions $permissions, bool|null $use_independent_chat_permissions = null, int|null $until_date = null) + * @method static bool|null promoteChatMember(int|string $chat_id, int $user_id, bool|null $is_anonymous = null, bool|null $can_manage_chat = null, bool|null $can_post_messages = null, bool|null $can_edit_messages = null, bool|null $can_delete_messages = null, bool|null $can_post_stories = null, bool|null $can_edit_stories = null, bool|null $can_delete_stories = null, bool|null $can_manage_video_chats = null, bool|null $can_restrict_members = null, bool|null $can_promote_members = null, bool|null $can_change_info = null, bool|null $can_invite_users = null, bool|null $can_pin_messages = null, bool|null $can_manage_topics = null, bool|null $can_manage_direct_messages = null, bool|null $can_manage_tags = null) + * @method static bool|null setChatAdministratorCustomTitle(int|string $chat_id, int $user_id, string $custom_title) + * @method static bool|null setChatMemberTag(string|null $tag = null, int|string|null $chat_id = null, int|null $user_id = null) + * @method static bool|null banChatSenderChat(int|string $chat_id, int $sender_chat_id) + * @method static bool|null unbanChatSenderChat(int|string $chat_id, int $sender_chat_id) + * @method static bool|null setChatPermissions(int|string $chat_id, \SergiX44\Nutgram\Telegram\Types\Chat\ChatPermissions $permissions, bool|null $use_independent_chat_permissions = null) + * @method static string|null exportChatInviteLink(int|string $chat_id) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatInviteLink|null createChatInviteLink(int|string $chat_id, string|null $name = null, int|null $expire_date = null, int|null $member_limit = null, bool|null $creates_join_request = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatInviteLink|null editChatInviteLink(int|string $chat_id, string $invite_link, string|null $name = null, int|null $expire_date = null, int|null $member_limit = null, bool|null $creates_join_request = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatInviteLink|null createChatSubscriptionInviteLink(string|int $chat_id, int $subscription_period, int $subscription_price, string|null $name = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatInviteLink|null editChatSubscriptionInviteLink(int|string $chat_id, string $invite_link, string|null $name = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatInviteLink|null revokeChatInviteLink(int|string $chat_id, string $invite_link) + * @method static bool|null approveChatJoinRequest(int|string $chat_id, int $user_id) + * @method static bool|null declineChatJoinRequest(int|string $chat_id, int $user_id) + * @method static bool|null setChatPhoto(int|string $chat_id, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile $photo, array $clientOpt = []) + * @method static bool|null deleteChatPhoto(int|string $chat_id) + * @method static bool|null setChatTitle(int|string $chat_id, string $title) + * @method static bool|null setChatDescription(int|string $chat_id, string|null $description = null) + * @method static bool|null pinChatMessage(int|string $chat_id, int $message_id, bool|null $disable_notification = null, string|null $business_connection_id = null) + * @method static bool|null unpinChatMessage(int|string $chat_id, int|null $message_id = null, string|null $business_connection_id = null) + * @method static bool|null unpinAllChatMessages(int|string $chat_id) + * @method static bool|null leaveChat(int|string $chat_id) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\Chat|null getChat(int|string $chat_id) + * @method static array|null getChatAdministrators(int|string $chat_id) + * @method static int|null getChatMemberCount(int|string $chat_id) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatMember|null getChatMember(int|string $chat_id, int $user_id) + * @method static bool|null setChatStickerSet(int|string $chat_id, string $sticker_set_name) + * @method static bool|null deleteChatStickerSet(int|string $chat_id) + * @method static array|null getForumTopicIconStickers() + * @method static \SergiX44\Nutgram\Telegram\Types\Forum\ForumTopic|null createForumTopic(int|string $chat_id, string $name, \SergiX44\Nutgram\Telegram\Properties\ForumIconColor|int|null $icon_color = null, string|null $icon_custom_emoji_id = null) + * @method static bool|null editForumTopic(int|string $chat_id, int $message_thread_id, string|null $name = null, string|null $icon_custom_emoji_id = null) + * @method static bool|null closeForumTopic(int|string $chat_id, int $message_thread_id) + * @method static bool|null reopenForumTopic(int|string $chat_id, int $message_thread_id) + * @method static bool|null deleteForumTopic(int|string $chat_id, int $message_thread_id) + * @method static bool|null unpinAllForumTopicMessages(int|string $chat_id, int $message_thread_id) + * @method static bool|null editGeneralForumTopic(int|string $chat_id, string $name) + * @method static bool|null closeGeneralForumTopic(int|string $chat_id) + * @method static bool|null reopenGeneralForumTopic(int|string $chat_id) + * @method static bool|null hideGeneralForumTopic(int|string $chat_id) + * @method static bool|null unhideGeneralForumTopic(int|string $chat_id) + * @method static bool|null answerCallbackQuery(string|null $callback_query_id = null, string|null $text = null, bool|null $show_alert = null, string|null $url = null, int|null $cache_time = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Boost\UserChatBoosts|null getUserChatBoosts(int|string|null $chat_id = null, int|null $user_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Business\BusinessConnection|null getBusinessConnection(string $business_connection_id) + * @method static bool|null setMyCommands(array $commands, \SergiX44\Nutgram\Telegram\Types\Command\BotCommandScope|null $scope = null, string|null $language_code = null) + * @method static bool|null deleteMyCommands(\SergiX44\Nutgram\Telegram\Types\Command\BotCommandScope|null $scope = null, string|null $language_code = null) + * @method static array|null getMyCommands(\SergiX44\Nutgram\Telegram\Types\Command\BotCommandScope|null $scope = null, string|null $language_code = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Description\BotName|null getMyName(string|null $language_code = null) + * @method static bool|null setMyName(string|null $name = null, string|null $language_code = null) + * @method static bool|null setMyDescription(string|null $description = null, string|null $language_code = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Description\BotDescription|null getMyDescription(string|null $language_code = null) + * @method static bool|null setMyShortDescription(string|null $short_description = null, string|null $language_code = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Description\BotShortDescription|null getMyShortDescription(string|null $language_code = null) + * @method static bool|null setMyProfilePhoto(\SergiX44\Nutgram\Telegram\Types\Input\InputProfilePhoto $photo) + * @method static bool|null removeMyProfilePhoto() + * @method static bool|null setChatMenuButton(int|null $chat_id = null, \SergiX44\Nutgram\Telegram\Types\Command\MenuButton|null $menu_button = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Command\MenuButton|null getChatMenuButton(int|null $chat_id = null) + * @method static bool|null setMyDefaultAdministratorRights(\SergiX44\Nutgram\Telegram\Types\Chat\ChatAdministratorRights|null $rights = null, bool|null $for_channels = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatAdministratorRights|null getMyDefaultAdministratorRights(bool|null $for_channels = null) + * @method static bool|null unpinAllGeneralForumTopicMessages(int|string $chat_id) + * @method static \SergiX44\Nutgram\Telegram\Types\Sticker\OwnedGifts|null getUserGifts(int|null $user_id = null, bool|null $exclude_unlimited = null, bool|null $exclude_limited_upgradable = null, bool|null $exclude_limited_non_upgradable = null, bool|null $exclude_from_blockchain = null, bool|null $exclude_unique = null, bool|null $sort_by_price = null, string|null $offset = null, int|null $limit = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Sticker\OwnedGifts|null getChatGifts(int|string|null $chat_id = null, bool|null $exclude_unsaved = null, bool|null $exclude_saved = null, bool|null $exclude_unlimited = null, bool|null $exclude_limited_upgradable = null, bool|null $exclude_limited_non_upgradable = null, bool|null $exclude_from_blockchain = null, bool|null $exclude_unique = null, bool|null $sort_by_price = null, string|null $offset = null, int|null $limit = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Media\Story|null repostStory(int $from_chat_id, int $from_story_id, \SergiX44\Nutgram\Telegram\Properties\StoryActivePeriod|int $active_period, string|null $business_connection_id = null, bool|null $post_to_chat_page = null, bool|null $protect_content = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|bool|null editMessageText(string $text, int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $entities = null, bool|null $disable_web_page_preview = null, \SergiX44\Nutgram\Telegram\Types\Message\LinkPreviewOptions|null $link_preview_options = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|bool|null editMessageCaption(int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, bool|null $show_caption_above_media = null, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|bool|null editMessageMedia(\SergiX44\Nutgram\Telegram\Types\Input\InputMedia $media, int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, string|null $business_connection_id = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|bool|null editMessageLiveLocation(float $latitude, float $longitude, int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, float|null $horizontal_accuracy = null, int|null $heading = null, int|null $proximity_alert_radius = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, int|null $live_period = null, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null editMessageChecklist(\SergiX44\Nutgram\Telegram\Types\Checklist\InputChecklist $checklist, string|null $business_connection_id = null, int|null $chat_id = null, int|null $message_id = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|bool|null editMessageReplyMarkup(int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Poll\Poll|null stopPoll(int|string $chat_id, int $message_id, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, string|null $business_connection_id = null) + * @method static bool|null approveSuggestedPost(int|null $chat_id = null, int|null $message_id = null, int|null $send_date = null) + * @method static bool|null declineSuggestedPost(int|null $chat_id = null, int|null $message_id = null, string|null $comment = null) + * @method static bool|null deleteMessage(int|string $chat_id, int $message_id) + * @method static bool|null deleteMessages(int|string $chat_id, int[] $message_ids) + * @method static bool|null giftPremiumSubscription(int $user_id, int $month_count, int $star_count, string|null $text = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $text_parse_mode = null, array|null $text_entities = null) + * @method static bool|null readBusinessMessage(int $chat_id, int $message_id, string|null $business_connection_id = null) + * @method static bool|null deleteBusinessMessages(array $message_ids, string|null $business_connection_id = null) + * @method static bool|null setBusinessAccountName(string $first_name, string $last_name, string|null $business_connection_id = null) + * @method static bool|null setBusinessAccountUsername(string|null $username = null, string|null $business_connection_id = null) + * @method static bool|null setBusinessAccountBio(string|null $bio = null, string|null $business_connection_id = null) + * @method static bool|null setBusinessAccountProfilePhoto(\SergiX44\Nutgram\Telegram\Types\Input\InputProfilePhoto $photo, bool|null $is_public = null, string|null $business_connection_id = null) + * @method static bool|null removeBusinessAccountProfilePhoto(bool|null $is_public = null, string|null $business_connection_id = null) + * @method static bool|null setBusinessAccountGiftSettings(bool $show_gift_button, \SergiX44\Nutgram\Telegram\Types\Sticker\AcceptedGiftTypes $accepted_gift_types, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Payment\StarAmount|null getBusinessAccountStarBalance(string|null $business_connection_id = null) + * @method static bool|null transferBusinessAccountStars(int $star_count, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Sticker\OwnedGifts|null getBusinessAccountGifts(bool|null $exclude_unsaved = null, bool|null $exclude_saved = null, bool|null $exclude_unlimited = null, bool|null $exclude_limited_upgradable = null, bool|null $exclude_limited_non_upgradable = null, bool|null $exclude_unique = null, bool|null $sort_by_price = null, bool|null $offset = null, bool|null $limit = null, string|null $business_connection_id = null, bool|null $exclude_from_blockchain = null) + * @method static bool|null convertGiftToStars(string $owned_gift_id, string|null $business_connection_id = null) + * @method static bool|null upgradeGift(string $owned_gift_id, bool|null $keep_original_details = null, bool|null $star_count = null, string|null $business_connection_id = null) + * @method static bool|null transferGift(string $owned_gift_id, int $new_owner_chat_id, int|null $star_count = null, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Media\Story|null postStory(\SergiX44\Nutgram\Telegram\Types\Input\InputStoryContent $content, int $active_period, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, array|null $areas = null, bool|null $post_to_chat_page = null, bool|null $protect_content = null, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Media\Story|null editStory(int $story_id, \SergiX44\Nutgram\Telegram\Types\Input\InputStoryContent $content, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, array|null $areas = null, string|null $business_connection_id = null) + * @method static bool|null deleteStory(int $story_id, string|null $business_connection_id = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendSticker(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $sticker, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $emoji = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null, array $clientOpt = []) + * @method static \SergiX44\Nutgram\Telegram\Types\Sticker\StickerSet|null getStickerSet(string $name) + * @method static \SergiX44\Nutgram\Telegram\Types\Media\File|null uploadStickerFile(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $sticker, \SergiX44\Nutgram\Telegram\Properties\StickerFormat|string $sticker_format, int|null $user_id = null, array $clientOpt = []) + * @method static bool|null createNewStickerSet(string $name, string $title, array $stickers, \SergiX44\Nutgram\Telegram\Properties\StickerFormat|string|null $sticker_format = null, int|null $user_id = null, \SergiX44\Nutgram\Telegram\Properties\StickerType|string|null $sticker_type = null, bool|null $needs_repainting = null, array $clientOpt = []) + * @method static bool|null addStickerToSet(string $name, \SergiX44\Nutgram\Telegram\Types\Input\InputSticker $sticker, int|null $user_id = null, array $clientOpt = []) + * @method static bool|null setStickerPositionInSet(string $sticker, int $position) + * @method static bool|null setCustomEmojiStickerSetThumbnail(string $name, string|null $custom_emoji_id = null) + * @method static bool|null deleteStickerFromSet(string $sticker) + * @method static bool|null replaceStickerInSet(string $name, string $old_sticker, \SergiX44\Nutgram\Telegram\Types\Input\InputSticker $sticker, int|null $user_id = null, array $clientOpt = []) + * @method static bool|null setStickerEmojiList(string $sticker, string[] $emoji_list) + * @method static bool|null setStickerKeywords(string $sticker, string[]|null $keywords = null) + * @method static bool|null setStickerMaskPosition(string $sticker, \SergiX44\Nutgram\Telegram\Types\Sticker\MaskPosition|null $mask_position = null) + * @method static bool|null setStickerSetThumbnail(string $name, \SergiX44\Nutgram\Telegram\Properties\StickerFormat|string $format = 'static', int|null $user_id = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, array $clientOpt = []) + * @method static array|null getCustomEmojiStickers(string[] $custom_emoji_ids) + * @method static bool|null setStickerSetTitle(string $name, string $title) + * @method static bool|null deleteStickerSet(string $name) + * @method static \SergiX44\Nutgram\Telegram\Types\Sticker\Gifts|null getAvailableGifts() + * @method static bool|null sendGift(string $gift_id, int|null $user_id = null, string|null $text = null, string|null $text_parse_mode = null, array|null $text_entities = null, bool|null $pay_for_upgrade = null, int|string|null $chat_id = null) + * @method static bool|null verifyUser(int $user_id, string|null $custom_description = null) + * @method static bool|null verifyChat(int|string $chat_id, string|null $custom_description = null) + * @method static bool|null removeUserVerification(int $user_id) + * @method static bool|null removeChatVerification(int|string $chat_id) + * @method static bool|null answerInlineQuery(array $results, string|null $inline_query_id = null, int|null $cache_time = null, bool|null $is_personal = null, string|null $next_offset = null, \SergiX44\Nutgram\Telegram\Types\Inline\InlineQueryResultsButton|null $button = null) + * @method static \SergiX44\Nutgram\Telegram\Types\WebApp\SentWebAppMessage|null answerWebAppQuery(string $web_app_query_id, \SergiX44\Nutgram\Telegram\Types\Inline\InlineQueryResult $result) + * @method static \SergiX44\Nutgram\Telegram\Types\Inline\PreparedInlineMessage|null savePreparedInlineMessage(\SergiX44\Nutgram\Telegram\Types\Inline\InlineQueryResult $result, int|null $user_id = null, bool|null $allow_user_chats = null, bool|null $allow_bot_chats = null, bool|null $allow_group_chats = null, bool|null $allow_channel_chats = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendInvoice(string $title, string $description, string $payload, string $provider_token, string $currency, array $prices, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $max_tip_amount = null, int[]|null $suggested_tip_amounts = null, string|null $start_parameter = null, string|null $provider_data = null, string|null $photo_url = null, int|null $photo_size = null, int|null $photo_width = null, int|null $photo_height = null, bool|null $need_name = null, bool|null $need_phone_number = null, bool|null $need_email = null, bool|null $need_shipping_address = null, bool|null $send_phone_number_to_provider = null, bool|null $send_email_to_provider = null, bool|null $is_flexible = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, \SergiX44\Nutgram\Telegram\Types\SuggestedPost\SuggestedPostParameters|null $suggested_post_parameters = null) + * @method static string|null createInvoiceLink(string $title, string $description, string $payload, string $provider_token, string $currency, array $prices, int|null $max_tip_amount = null, int[]|null $suggested_tip_amounts = null, string|null $provider_data = null, string|null $photo_url = null, int|null $photo_size = null, int|null $photo_width = null, int|null $photo_height = null, bool|null $need_name = null, bool|null $need_phone_number = null, bool|null $need_email = null, bool|null $need_shipping_address = null, bool|null $send_phone_number_to_provider = null, bool|null $send_email_to_provider = null, bool|null $is_flexible = null, int|null $subscription_period = null, string|null $business_connection_id = null) + * @method static bool|null answerShippingQuery(bool $ok, string|null $shipping_query_id = null, array|null $shipping_options = null, string|null $error_message = null) + * @method static bool|null answerPreCheckoutQuery(bool $ok, string|null $pre_checkout_query_id = null, string|null $error_message = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Payment\StarAmount|null getMyStarBalance() + * @method static \SergiX44\Nutgram\Telegram\Types\Payment\StarTransactions|null getStarTransactions(int|null $offset = null, int|null $limit = null) + * @method static bool|null editUserStarSubscription(string $telegram_payment_charge_id, bool $is_canceled, int|null $user_id = null) + * @method static bool|null refundStarPayment(string $telegram_payment_charge_id, int|null $user_id = null) + * @method static bool|null setPassportDataErrors(int $user_id, array $errors) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null sendGame(string $game_short_name, int|null $chat_id = null, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Message\ReplyParameters|null $reply_parameters = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|bool|null setGameScore(int $score, int|null $user_id = null, bool|null $force = null, bool|null $disable_edit_message = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null) + * @method static array|null getGameHighScores(int|null $user_id = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null) + * @method static array|null sendChunkedMessage(string $text, int|string|null $chat_id = null, int|null $message_thread_id = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $entities = null, bool|null $disable_web_page_preview = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null) + * @method static array|null sendChunkedPhoto(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $photo, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) + * @method static array|null sendChunkedAudio(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $audio, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, int|null $duration = null, string|null $performer = null, string|null $title = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) + * @method static array|null sendChunkedDocument(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $document, int|string|null $chat_id = null, int|null $message_thread_id = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $disable_content_type_detection = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) + * @method static array|null sendChunkedVideo(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $video, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $supports_streaming = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) + * @method static array|null sendChunkedAnimation(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $animation, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string|null $thumbnail = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) + * @method static array|null sendChunkedVoice(\SergiX44\Nutgram\Telegram\Types\Internal\InputFile|string $voice, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, \SergiX44\Nutgram\Telegram\Properties\ParseMode|string|null $parse_mode = null, array|null $caption_entities = null, int|null $duration = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, \SergiX44\Nutgram\Telegram\Types\Keyboard\InlineKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardMarkup|\SergiX44\Nutgram\Telegram\Types\Keyboard\ReplyKeyboardRemove|\SergiX44\Nutgram\Telegram\Types\Keyboard\ForceReply|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) + * @method static void macro(string $name, object|callable $macro) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static array|null getUpdates(int|null $offset = null, int|null $limit = null, int|null $timeout = null, string[]|null $allowed_updates = null) + * @method static bool|null setWebhook(string $url, \SergiX44\Nutgram\Telegram\Types\Internal\InputFile|null $certificate = null, string|null $ip_address = null, int|null $max_connections = null, string[]|null $allowed_updates = ['message','edited_message','channel_post','edited_channel_post','business_connection','business_message','edited_business_message','deleted_business_messages','message_reaction','message_reaction_count','inline_query','chosen_inline_result','callback_query','shipping_query','pre_checkout_query','purchased_paid_media','poll','poll_answer','my_chat_member','chat_member','chat_join_request','chat_boost','removed_chat_boost'], bool|null $drop_pending_updates = null, string|null $secret_token = null) + * @method static bool|null deleteWebhook(bool $drop_pending_updates = null) + * @method static \SergiX44\Nutgram\Telegram\Types\Common\WebhookInfo|null getWebhookInfo() + * @method static \SergiX44\Nutgram\Nutgram asResponse() + * @method static mixed get(string|int $key, mixed $default = null) + * @method static mixed set(string|int $key, mixed $value) + * @method static void delete(string|int $key) + * @method static void clear() + * @method static mixed getGlobalData(void $key, mixed $default = null) + * @method static bool setGlobalData(void $key, void $value, \DateInterval|int|null $ttl = null) + * @method static bool deleteGlobalData(void $key) + * @method static mixed getUserData(void $key, int|null $userId = null, mixed $default = null) + * @method static bool setUserData(void $key, void $value, int|null $userId = null, \DateInterval|int|null $ttl = null) + * @method static bool deleteUserData(void $key, int|null $userId = null) + * @method static \SergiX44\Nutgram\Handlers\Handler|null currentHandler() + * @method static array currentParameters() + * @method static mixed validateWebAppData(string $queryString) + * @method static mixed validateWebAppDataForThirdParty(int $botId, string $queryString, string $publicKey = 'e7bf03a2fa4602af4580703d88dda5bb59f32ed8b02a56c187fe7d34caed242d') + * @method static mixed validateLoginData(string $queryString) * @method static callable|\SergiX44\Nutgram\Conversations\Conversation|\Closure|null currentConversation(int|null $userId, int|null $chatId, int|null $threadId) + * @method static int|null userId() + * @method static int|null chatId() + * @method static int|null updateId() + * @method static int|null messageId() + * @method static int|null messageThreadId() + * @method static string|null businessConnectionId() + * @method static string|null inlineMessageId() + * @method static int|null directMessagesTopicId() + * @method static \SergiX44\Nutgram\Telegram\Types\Common\Update|null update() + * @method static \SergiX44\Nutgram\Telegram\Types\User\User|null user() + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\Chat|null chat() + * @method static bool isCommand() + * @method static bool isInlineQuery() + * @method static bool isCallbackQuery() + * @method static bool isPreCheckoutQuery() + * @method static bool isMyChatMember() + * @method static bool isDirectMessagesTopic() + * @method static bool isSuggestedPost() + * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null message() + * @method static \SergiX44\Nutgram\Telegram\Types\Reaction\MessageReactionUpdated|null messageReaction() + * @method static \SergiX44\Nutgram\Telegram\Types\Reaction\MessageReactionCountUpdated|null messageReactionCount() + * @method static \SergiX44\Nutgram\Telegram\Types\Business\BusinessConnection|null businessConnection() + * @method static \SergiX44\Nutgram\Telegram\Types\Business\BusinessMessagesDeleted|null deletedBusinessMessages() + * @method static \SergiX44\Nutgram\Telegram\Types\Inline\InlineQuery|null inlineQuery() + * @method static \SergiX44\Nutgram\Telegram\Types\Inline\ChosenInlineResult|null chosenInlineResult() + * @method static \SergiX44\Nutgram\Telegram\Types\Inline\CallbackQuery|null callbackQuery() + * @method static \SergiX44\Nutgram\Telegram\Types\Payment\ShippingQuery|null shippingQuery() + * @method static \SergiX44\Nutgram\Telegram\Types\Payment\PreCheckoutQuery|null preCheckoutQuery() + * @method static \SergiX44\Nutgram\Telegram\Types\Payment\PaidMediaPurchased|null purchasedPaidMedia() + * @method static \SergiX44\Nutgram\Telegram\Types\Poll\Poll|null poll() + * @method static \SergiX44\Nutgram\Telegram\Types\Poll\PollAnswer|null pollAnswer() + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatMemberUpdated|null chatMember() + * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatJoinRequest|null chatJoinRequest() + * @method static \SergiX44\Nutgram\Telegram\Types\Boost\ChatBoostUpdated|null chatBoost() + * @method static \SergiX44\Nutgram\Telegram\Types\Boost\ChatBoostRemoved|null removedChatBoost() + * @method static \SergiX44\Nutgram\Telegram\Types\Checklist\Checklist|null checklist() * @method static void middleware(callable|mixed|array $callable) * @method static void middlewares(mixed $callable) * @method static \SergiX44\Nutgram\Handlers\HandlerGroup group(callable $closure) @@ -176,239 +409,6 @@ * @method static void appendRateLimiters(array $rateLimiters) * @method static \SergiX44\Nutgram\Handlers\CollectHandlers withoutThrottle(bool $value = true) * @method static bool isWithoutRateLimit() - * @method static int|null userId() - * @method static int|null chatId() - * @method static int|null updateId() - * @method static int|null messageId() - * @method static int|null messageThreadId() - * @method static string|null businessConnectionId() - * @method static string|null inlineMessageId() - * @method static int|null directMessagesTopicId() - * @method static \SergiX44\Nutgram\Telegram\Types\Common\Update|null update() - * @method static \SergiX44\Nutgram\Telegram\Types\User\User|null user() - * @method static \SergiX44\Nutgram\Telegram\Types\Chat\Chat|null chat() - * @method static bool isCommand() - * @method static bool isInlineQuery() - * @method static bool isCallbackQuery() - * @method static bool isPreCheckoutQuery() - * @method static bool isMyChatMember() - * @method static bool isDirectMessagesTopic() - * @method static bool isSuggestedPost() - * @method static \SergiX44\Nutgram\Telegram\Types\Message\Message|null message() - * @method static \SergiX44\Nutgram\Telegram\Types\Reaction\MessageReactionUpdated|null messageReaction() - * @method static \SergiX44\Nutgram\Telegram\Types\Reaction\MessageReactionCountUpdated|null messageReactionCount() - * @method static \SergiX44\Nutgram\Telegram\Types\Business\BusinessConnection|null businessConnection() - * @method static \SergiX44\Nutgram\Telegram\Types\Business\BusinessMessagesDeleted|null deletedBusinessMessages() - * @method static \SergiX44\Nutgram\Telegram\Types\Inline\InlineQuery|null inlineQuery() - * @method static \SergiX44\Nutgram\Telegram\Types\Inline\ChosenInlineResult|null chosenInlineResult() - * @method static \SergiX44\Nutgram\Telegram\Types\Inline\CallbackQuery|null callbackQuery() - * @method static \SergiX44\Nutgram\Telegram\Types\Payment\ShippingQuery|null shippingQuery() - * @method static \SergiX44\Nutgram\Telegram\Types\Payment\PreCheckoutQuery|null preCheckoutQuery() - * @method static \SergiX44\Nutgram\Telegram\Types\Payment\PaidMediaPurchased|null purchasedPaidMedia() - * @method static \SergiX44\Nutgram\Telegram\Types\Poll\Poll|null poll() - * @method static \SergiX44\Nutgram\Telegram\Types\Poll\PollAnswer|null pollAnswer() - * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatMemberUpdated|null chatMember() - * @method static \SergiX44\Nutgram\Telegram\Types\Chat\ChatJoinRequest|null chatJoinRequest() - * @method static \SergiX44\Nutgram\Telegram\Types\Boost\ChatBoostUpdated|null chatBoost() - * @method static \SergiX44\Nutgram\Telegram\Types\Boost\ChatBoostRemoved|null removedChatBoost() - * @method static \SergiX44\Nutgram\Telegram\Types\Checklist\Checklist|null checklist() - * @method static \SergiX44\Nutgram\Nutgram withProgress(callable|object|array|string $callable) - * @method static mixed sendRequest(string $endpoint, array $parameters = [], array $options = []) - * @method static bool|null downloadFile(mixed $file, string $path, array $clientOpt = []) - * @method static string|null downloadUrl(mixed $file) - * @method static mixed|null getMe() - * @method static bool|null logOut() - * @method static bool|null close() - * @method static mixed|null sendMessage(string $text, int|string|null $chat_id = null, int|null $message_thread_id = null, mixed|string|null $parse_mode = null, mixed[]|null $entities = null, bool|null $disable_web_page_preview = null, mixed|null $link_preview_options = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null) - * @method static mixed|null forwardMessage(int|string $chat_id, int|string $from_chat_id, int $message_id, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $video_start_timestamp = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, string|null $message_effect_id = null) - * @method static mixed[]|null forwardMessages(int|string $chat_id, int|string $from_chat_id, array $message_ids, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $direct_messages_topic_id = null) - * @method static mixed|null copyMessage(int|string $chat_id, int|string $from_chat_id, int $message_id, int|null $message_thread_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, bool|null $show_caption_above_media = null, bool|null $allow_paid_broadcast = null, int|null $video_start_timestamp = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, string|null $message_effect_id = null) - * @method static mixed[]|null copyMessages(int|string $chat_id, int|string $from_chat_id, int|null $message_thread_id = null, array|null $message_ids = null, bool|null $disable_notification = null, bool|null $protect_content = null, bool|null $remove_caption = null, int|null $direct_messages_topic_id = null) - * @method static mixed|null sendPhoto(mixed|string $photo, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, bool|null $show_caption_above_media = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null sendAudio(mixed|string $audio, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, int|null $duration = null, string|null $performer = null, string|null $title = null, mixed|string|null $thumbnail = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null sendDocument(mixed|string $document, int|string|null $chat_id = null, int|null $message_thread_id = null, mixed|string|null $thumbnail = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $disable_content_type_detection = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null sendVideo(mixed|string $video, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, mixed|string|null $thumbnail = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $supports_streaming = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, bool|null $show_caption_above_media = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, mixed|string|null $cover = null, int|null $start_timestamp = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null sendAnimation(mixed|string $animation, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, mixed|string|null $thumbnail = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, bool|null $show_caption_above_media = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null sendVoice(mixed|string $voice, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, int|null $duration = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null sendVideoNote(mixed|string $video_note, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $length = null, mixed|string|null $thumbnail = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null sendPaidMedia(int $star_count, mixed[] $media, int|string|null $chat_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, array|null $caption_entities = null, bool|null $show_caption_above_media = null, bool|null $disable_notification = null, bool|null $protect_content = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $payload = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, int|null $message_thread_id = null, array $clientOpt = []) - * @method static mixed[]|null sendMediaGroup(mixed[] $media, int|string|null $chat_id = null, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, array $clientOpt = []) - * @method static mixed|null sendLocation(float $latitude, float $longitude, int|string|null $chat_id = null, int|null $message_thread_id = null, float|null $horizontal_accuracy = null, int|null $live_period = null, int|null $heading = null, int|null $proximity_alert_radius = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null) - * @method static mixed|bool|null stopMessageLiveLocation(int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, mixed|null $reply_markup = null, string|null $business_connection_id = null) - * @method static mixed|null sendVenue(float $latitude, float $longitude, string $title, string $address, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $foursquare_id = null, string|null $foursquare_type = null, string|null $google_place_id = null, string|null $google_place_type = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null) - * @method static mixed|null sendContact(string $phone_number, string $first_name, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $last_name = null, string|null $vcard = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null) - * @method static mixed|null sendPoll(string $question, mixed[]|string[] $options, int|string|null $chat_id = null, int|null $message_thread_id = null, bool|null $is_anonymous = null, mixed|string|null $type = null, bool|null $allows_multiple_answers = null, int|null $correct_option_id = null, string|null $explanation = null, mixed|string|null $explanation_parse_mode = null, mixed[]|null $explanation_entities = null, int|null $open_period = null, int|null $close_date = null, bool|null $is_closed = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, mixed|string|null $question_parse_mode = null, mixed[]|null $question_entities = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null) - * @method static mixed|null sendChecklist(mixed $checklist, string|null $business_connection_id = null, int|null $chat_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, string|null $message_effect_id = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null) - * @method static mixed|null sendDice(int|string|null $chat_id = null, int|null $message_thread_id = null, mixed|string|null $emoji = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null) - * @method static bool|null sendMessageDraft(int $draft_id, string $text, int|null $chat_id = null, int|null $message_thread_id = null, mixed|string|null $parse_mode = null, mixed[]|null $entities = null) - * @method static bool|null sendChatAction(mixed|string $action, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $business_connection_id = null) - * @method static bool|null setMessageReaction(mixed[]|null $reaction = null, bool|null $is_big = null, int|string|null $chat_id = null, int|null $message_id = null) - * @method static mixed|null getUserProfilePhotos(int|null $user_id = null, int|null $offset = null, int|null $limit = null) - * @method static mixed|null getUserProfileAudios(int|null $user_id = null, int|null $offset = null, int|null $limit = null) - * @method static bool|null setUserEmojiStatus(string|null $emoji_status_custom_emoji_id = null, int|null $emoji_status_expiration_date = null, int|null $user_id = null) - * @method static mixed|null getFile(string $file_id) - * @method static bool|null banChatMember(int|string $chat_id, int $user_id, int|null $until_date = null, bool|null $revoke_messages = null) - * @method static bool|null unbanChatMember(int|string $chat_id, int $user_id, bool|null $only_if_banned = null) - * @method static bool|null restrictChatMember(int|string $chat_id, int $user_id, mixed $permissions, bool|null $use_independent_chat_permissions = null, int|null $until_date = null) - * @method static bool|null promoteChatMember(int|string $chat_id, int $user_id, bool|null $is_anonymous = null, bool|null $can_manage_chat = null, bool|null $can_post_messages = null, bool|null $can_edit_messages = null, bool|null $can_delete_messages = null, bool|null $can_post_stories = null, bool|null $can_edit_stories = null, bool|null $can_delete_stories = null, bool|null $can_manage_video_chats = null, bool|null $can_restrict_members = null, bool|null $can_promote_members = null, bool|null $can_change_info = null, bool|null $can_invite_users = null, bool|null $can_pin_messages = null, bool|null $can_manage_topics = null, bool|null $can_manage_direct_messages = null, bool|null $can_manage_tags = null) - * @method static bool|null setChatAdministratorCustomTitle(int|string $chat_id, int $user_id, string $custom_title) - * @method static bool|null setChatMemberTag(string|null $tag = null, int|string|null $chat_id = null, int|null $user_id = null) - * @method static bool|null banChatSenderChat(int|string $chat_id, int $sender_chat_id) - * @method static bool|null unbanChatSenderChat(int|string $chat_id, int $sender_chat_id) - * @method static bool|null setChatPermissions(int|string $chat_id, mixed $permissions, bool|null $use_independent_chat_permissions = null) - * @method static string|null exportChatInviteLink(int|string $chat_id) - * @method static mixed|null createChatInviteLink(int|string $chat_id, string|null $name = null, int|null $expire_date = null, int|null $member_limit = null, bool|null $creates_join_request = null) - * @method static mixed|null editChatInviteLink(int|string $chat_id, string $invite_link, string|null $name = null, int|null $expire_date = null, int|null $member_limit = null, bool|null $creates_join_request = null) - * @method static mixed|null createChatSubscriptionInviteLink(string|int $chat_id, int $subscription_period, int $subscription_price, string|null $name = null) - * @method static mixed|null editChatSubscriptionInviteLink(int|string $chat_id, string $invite_link, string|null $name = null) - * @method static mixed|null revokeChatInviteLink(int|string $chat_id, string $invite_link) - * @method static bool|null approveChatJoinRequest(int|string $chat_id, int $user_id) - * @method static bool|null declineChatJoinRequest(int|string $chat_id, int $user_id) - * @method static bool|null setChatPhoto(int|string $chat_id, mixed $photo, array $clientOpt = []) - * @method static bool|null deleteChatPhoto(int|string $chat_id) - * @method static bool|null setChatTitle(int|string $chat_id, string $title) - * @method static bool|null setChatDescription(int|string $chat_id, string|null $description = null) - * @method static bool|null pinChatMessage(int|string $chat_id, int $message_id, bool|null $disable_notification = null, string|null $business_connection_id = null) - * @method static bool|null unpinChatMessage(int|string $chat_id, int|null $message_id = null, string|null $business_connection_id = null) - * @method static bool|null unpinAllChatMessages(int|string $chat_id) - * @method static bool|null leaveChat(int|string $chat_id) - * @method static mixed|null getChat(int|string $chat_id) - * @method static mixed[]|null getChatAdministrators(int|string $chat_id) - * @method static int|null getChatMemberCount(int|string $chat_id) - * @method static mixed|null getChatMember(int|string $chat_id, int $user_id) - * @method static bool|null setChatStickerSet(int|string $chat_id, string $sticker_set_name) - * @method static bool|null deleteChatStickerSet(int|string $chat_id) - * @method static mixed[]|null getForumTopicIconStickers() - * @method static mixed|null createForumTopic(int|string $chat_id, string $name, mixed|int|null $icon_color = null, string|null $icon_custom_emoji_id = null) - * @method static bool|null editForumTopic(int|string $chat_id, int $message_thread_id, string|null $name = null, string|null $icon_custom_emoji_id = null) - * @method static bool|null closeForumTopic(int|string $chat_id, int $message_thread_id) - * @method static bool|null reopenForumTopic(int|string $chat_id, int $message_thread_id) - * @method static bool|null deleteForumTopic(int|string $chat_id, int $message_thread_id) - * @method static bool|null unpinAllForumTopicMessages(int|string $chat_id, int $message_thread_id) - * @method static bool|null editGeneralForumTopic(int|string $chat_id, string $name) - * @method static bool|null closeGeneralForumTopic(int|string $chat_id) - * @method static bool|null reopenGeneralForumTopic(int|string $chat_id) - * @method static bool|null hideGeneralForumTopic(int|string $chat_id) - * @method static bool|null unhideGeneralForumTopic(int|string $chat_id) - * @method static bool|null answerCallbackQuery(string|null $callback_query_id = null, string|null $text = null, bool|null $show_alert = null, string|null $url = null, int|null $cache_time = null) - * @method static mixed|null getUserChatBoosts(int|string|null $chat_id = null, int|null $user_id = null) - * @method static mixed|null getBusinessConnection(string $business_connection_id) - * @method static bool|null setMyCommands(mixed[] $commands, mixed|null $scope = null, string|null $language_code = null) - * @method static bool|null deleteMyCommands(mixed|null $scope = null, string|null $language_code = null) - * @method static mixed[]|null getMyCommands(mixed|null $scope = null, string|null $language_code = null) - * @method static mixed|null getMyName(string|null $language_code = null) - * @method static bool|null setMyName(string|null $name = null, string|null $language_code = null) - * @method static bool|null setMyDescription(string|null $description = null, string|null $language_code = null) - * @method static mixed|null getMyDescription(string|null $language_code = null) - * @method static bool|null setMyShortDescription(string|null $short_description = null, string|null $language_code = null) - * @method static mixed|null getMyShortDescription(string|null $language_code = null) - * @method static bool|null setMyProfilePhoto(mixed $photo) - * @method static bool|null removeMyProfilePhoto() - * @method static bool|null setChatMenuButton(int|null $chat_id = null, mixed|null $menu_button = null) - * @method static mixed|null getChatMenuButton(int|null $chat_id = null) - * @method static bool|null setMyDefaultAdministratorRights(mixed|null $rights = null, bool|null $for_channels = null) - * @method static mixed|null getMyDefaultAdministratorRights(bool|null $for_channels = null) - * @method static bool|null unpinAllGeneralForumTopicMessages(int|string $chat_id) - * @method static mixed|null getUserGifts(int|null $user_id = null, bool|null $exclude_unlimited = null, bool|null $exclude_limited_upgradable = null, bool|null $exclude_limited_non_upgradable = null, bool|null $exclude_from_blockchain = null, bool|null $exclude_unique = null, bool|null $sort_by_price = null, string|null $offset = null, int|null $limit = null) - * @method static mixed|null getChatGifts(int|string|null $chat_id = null, bool|null $exclude_unsaved = null, bool|null $exclude_saved = null, bool|null $exclude_unlimited = null, bool|null $exclude_limited_upgradable = null, bool|null $exclude_limited_non_upgradable = null, bool|null $exclude_from_blockchain = null, bool|null $exclude_unique = null, bool|null $sort_by_price = null, string|null $offset = null, int|null $limit = null) - * @method static mixed|null repostStory(int $from_chat_id, int $from_story_id, mixed|int $active_period, string|null $business_connection_id = null, bool|null $post_to_chat_page = null, bool|null $protect_content = null) - * @method static mixed|bool|null editMessageText(string $text, int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, mixed|string|null $parse_mode = null, mixed[]|null $entities = null, bool|null $disable_web_page_preview = null, mixed|null $link_preview_options = null, mixed|null $reply_markup = null, string|null $business_connection_id = null) - * @method static mixed|bool|null editMessageCaption(int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, mixed|null $reply_markup = null, bool|null $show_caption_above_media = null, string|null $business_connection_id = null) - * @method static mixed|bool|null editMessageMedia(mixed $media, int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, array $clientOpt = []) - * @method static mixed|bool|null editMessageLiveLocation(float $latitude, float $longitude, int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, float|null $horizontal_accuracy = null, int|null $heading = null, int|null $proximity_alert_radius = null, mixed|null $reply_markup = null, int|null $live_period = null, string|null $business_connection_id = null) - * @method static mixed|null editMessageChecklist(mixed $checklist, string|null $business_connection_id = null, int|null $chat_id = null, int|null $message_id = null, mixed|null $reply_markup = null) - * @method static mixed|bool|null editMessageReplyMarkup(int|string|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, mixed|null $reply_markup = null, string|null $business_connection_id = null) - * @method static mixed|null stopPoll(int|string $chat_id, int $message_id, mixed|null $reply_markup = null, string|null $business_connection_id = null) - * @method static bool|null approveSuggestedPost(int|null $chat_id = null, int|null $message_id = null, int|null $send_date = null) - * @method static bool|null declineSuggestedPost(int|null $chat_id = null, int|null $message_id = null, string|null $comment = null) - * @method static bool|null deleteMessage(int|string $chat_id, int $message_id) - * @method static bool|null deleteMessages(int|string $chat_id, int[] $message_ids) - * @method static bool|null giftPremiumSubscription(int $user_id, int $month_count, int $star_count, string|null $text = null, mixed|string|null $text_parse_mode = null, mixed[]|null $text_entities = null) - * @method static bool|null readBusinessMessage(int $chat_id, int $message_id, string|null $business_connection_id = null) - * @method static bool|null deleteBusinessMessages(array $message_ids, string|null $business_connection_id = null) - * @method static bool|null setBusinessAccountName(string $first_name, string $last_name, string|null $business_connection_id = null) - * @method static bool|null setBusinessAccountUsername(string|null $username = null, string|null $business_connection_id = null) - * @method static bool|null setBusinessAccountBio(string|null $bio = null, string|null $business_connection_id = null) - * @method static bool|null setBusinessAccountProfilePhoto(mixed $photo, bool|null $is_public = null, string|null $business_connection_id = null) - * @method static bool|null removeBusinessAccountProfilePhoto(bool|null $is_public = null, string|null $business_connection_id = null) - * @method static bool|null setBusinessAccountGiftSettings(bool $show_gift_button, mixed $accepted_gift_types, string|null $business_connection_id = null) - * @method static mixed|null getBusinessAccountStarBalance(string|null $business_connection_id = null) - * @method static bool|null transferBusinessAccountStars(int $star_count, string|null $business_connection_id = null) - * @method static mixed|null getBusinessAccountGifts(bool|null $exclude_unsaved = null, bool|null $exclude_saved = null, bool|null $exclude_unlimited = null, bool|null $exclude_limited_upgradable = null, bool|null $exclude_limited_non_upgradable = null, bool|null $exclude_unique = null, bool|null $sort_by_price = null, bool|null $offset = null, bool|null $limit = null, string|null $business_connection_id = null, bool|null $exclude_from_blockchain = null) - * @method static bool|null convertGiftToStars(string $owned_gift_id, string|null $business_connection_id = null) - * @method static bool|null upgradeGift(string $owned_gift_id, bool|null $keep_original_details = null, bool|null $star_count = null, string|null $business_connection_id = null) - * @method static bool|null transferGift(string $owned_gift_id, int $new_owner_chat_id, int|null $star_count = null, string|null $business_connection_id = null) - * @method static mixed|null postStory(mixed $content, int $active_period, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, mixed[]|null $areas = null, bool|null $post_to_chat_page = null, bool|null $protect_content = null, string|null $business_connection_id = null) - * @method static mixed|null editStory(int $story_id, mixed $content, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, mixed[]|null $areas = null, string|null $business_connection_id = null) - * @method static bool|null deleteStory(int $story_id, string|null $business_connection_id = null) - * @method static mixed|null sendSticker(mixed|string $sticker, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $emoji = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null, array $clientOpt = []) - * @method static mixed|null getStickerSet(string $name) - * @method static mixed|null uploadStickerFile(mixed|string $sticker, mixed|string $sticker_format, int|null $user_id = null, array $clientOpt = []) - * @method static bool|null createNewStickerSet(string $name, string $title, mixed[] $stickers, mixed|string|null $sticker_format = null, int|null $user_id = null, mixed|string|null $sticker_type = null, bool|null $needs_repainting = null, array $clientOpt = []) - * @method static bool|null addStickerToSet(string $name, mixed $sticker, int|null $user_id = null, array $clientOpt = []) - * @method static bool|null setStickerPositionInSet(string $sticker, int $position) - * @method static bool|null setCustomEmojiStickerSetThumbnail(string $name, string|null $custom_emoji_id = null) - * @method static bool|null deleteStickerFromSet(string $sticker) - * @method static bool|null replaceStickerInSet(string $name, string $old_sticker, mixed $sticker, int|null $user_id = null, array $clientOpt = []) - * @method static bool|null setStickerEmojiList(string $sticker, string[] $emoji_list) - * @method static bool|null setStickerKeywords(string $sticker, string[]|null $keywords = null) - * @method static bool|null setStickerMaskPosition(string $sticker, mixed|null $mask_position = null) - * @method static bool|null setStickerSetThumbnail(string $name, mixed|string $format = 'static', int|null $user_id = null, mixed|string|null $thumbnail = null, array $clientOpt = []) - * @method static mixed[]|null getCustomEmojiStickers(string[] $custom_emoji_ids) - * @method static bool|null setStickerSetTitle(string $name, string $title) - * @method static bool|null deleteStickerSet(string $name) - * @method static mixed|null getAvailableGifts() - * @method static bool|null sendGift(string $gift_id, int|null $user_id = null, string|null $text = null, string|null $text_parse_mode = null, array|null $text_entities = null, bool|null $pay_for_upgrade = null, int|string|null $chat_id = null) - * @method static bool|null verifyUser(int $user_id, string|null $custom_description = null) - * @method static bool|null verifyChat(int|string $chat_id, string|null $custom_description = null) - * @method static bool|null removeUserVerification(int $user_id) - * @method static bool|null removeChatVerification(int|string $chat_id) - * @method static bool|null answerInlineQuery(mixed[] $results, string|null $inline_query_id = null, int|null $cache_time = null, bool|null $is_personal = null, string|null $next_offset = null, mixed|null $button = null) - * @method static mixed|null answerWebAppQuery(string $web_app_query_id, mixed $result) - * @method static mixed|null savePreparedInlineMessage(mixed $result, int|null $user_id = null, bool|null $allow_user_chats = null, bool|null $allow_bot_chats = null, bool|null $allow_group_chats = null, bool|null $allow_channel_chats = null) - * @method static mixed|null sendInvoice(string $title, string $description, string $payload, string $provider_token, string $currency, mixed[] $prices, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $max_tip_amount = null, int[]|null $suggested_tip_amounts = null, string|null $start_parameter = null, string|null $provider_data = null, string|null $photo_url = null, int|null $photo_size = null, int|null $photo_width = null, int|null $photo_height = null, bool|null $need_name = null, bool|null $need_phone_number = null, bool|null $need_email = null, bool|null $need_shipping_address = null, bool|null $send_phone_number_to_provider = null, bool|null $send_email_to_provider = null, bool|null $is_flexible = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null, int|null $direct_messages_topic_id = null, mixed|null $suggested_post_parameters = null) - * @method static string|null createInvoiceLink(string $title, string $description, string $payload, string $provider_token, string $currency, mixed[] $prices, int|null $max_tip_amount = null, int[]|null $suggested_tip_amounts = null, string|null $provider_data = null, string|null $photo_url = null, int|null $photo_size = null, int|null $photo_width = null, int|null $photo_height = null, bool|null $need_name = null, bool|null $need_phone_number = null, bool|null $need_email = null, bool|null $need_shipping_address = null, bool|null $send_phone_number_to_provider = null, bool|null $send_email_to_provider = null, bool|null $is_flexible = null, int|null $subscription_period = null, string|null $business_connection_id = null) - * @method static bool|null answerShippingQuery(bool $ok, string|null $shipping_query_id = null, mixed[]|null $shipping_options = null, string|null $error_message = null) - * @method static bool|null answerPreCheckoutQuery(bool $ok, string|null $pre_checkout_query_id = null, string|null $error_message = null) - * @method static mixed|null getMyStarBalance() - * @method static mixed|null getStarTransactions(int|null $offset = null, int|null $limit = null) - * @method static bool|null editUserStarSubscription(string $telegram_payment_charge_id, bool $is_canceled, int|null $user_id = null) - * @method static bool|null refundStarPayment(string $telegram_payment_charge_id, int|null $user_id = null) - * @method static bool|null setPassportDataErrors(int $user_id, mixed[] $errors) - * @method static mixed|null sendGame(string $game_short_name, int|null $chat_id = null, int|null $message_thread_id = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_parameters = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, bool|null $allow_paid_broadcast = null) - * @method static mixed|bool|null setGameScore(int $score, int|null $user_id = null, bool|null $force = null, bool|null $disable_edit_message = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null) - * @method static mixed[]|null getGameHighScores(int|null $user_id = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null) - * @method static mixed[]|null sendChunkedMessage(string $text, int|string|null $chat_id = null, int|null $message_thread_id = null, mixed|string|null $parse_mode = null, mixed[]|null $entities = null, bool|null $disable_web_page_preview = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null) - * @method static mixed[]|null sendChunkedPhoto(mixed|string $photo, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) - * @method static mixed[]|null sendChunkedAudio(mixed|string $audio, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, int|null $duration = null, string|null $performer = null, string|null $title = null, mixed|string|null $thumbnail = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) - * @method static mixed[]|null sendChunkedDocument(mixed|string $document, int|string|null $chat_id = null, int|null $message_thread_id = null, mixed|string|null $thumbnail = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $disable_content_type_detection = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) - * @method static mixed[]|null sendChunkedVideo(mixed|string $video, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, mixed|string|null $thumbnail = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $supports_streaming = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) - * @method static mixed[]|null sendChunkedAnimation(mixed|string $animation, int|string|null $chat_id = null, int|null $message_thread_id = null, int|null $duration = null, int|null $width = null, int|null $height = null, mixed|string|null $thumbnail = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, bool|null $has_spoiler = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) - * @method static mixed[]|null sendChunkedVoice(mixed|string $voice, int|string|null $chat_id = null, int|null $message_thread_id = null, string|null $caption = null, mixed|string|null $parse_mode = null, mixed[]|null $caption_entities = null, int|null $duration = null, bool|null $disable_notification = null, bool|null $protect_content = null, int|null $reply_to_message_id = null, bool|null $allow_sending_without_reply = null, mixed|null $reply_markup = null, string|null $business_connection_id = null, string|null $message_effect_id = null, array $clientOpt = []) - * @method static void macro(string $name, object|callable $macro) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static array|null getUpdates(int|null $offset = null, int|null $limit = null, int|null $timeout = null, string[]|null $allowed_updates = null) - * @method static bool|null setWebhook(string $url, mixed|null $certificate = null, string|null $ip_address = null, int|null $max_connections = null, string[]|null $allowed_updates = ['message','edited_message','channel_post','edited_channel_post','business_connection','business_message','edited_business_message','deleted_business_messages','message_reaction','message_reaction_count','inline_query','chosen_inline_result','callback_query','shipping_query','pre_checkout_query','purchased_paid_media','poll','poll_answer','my_chat_member','chat_member','chat_join_request','chat_boost','removed_chat_boost'], bool|null $drop_pending_updates = null, string|null $secret_token = null) - * @method static bool|null deleteWebhook(bool $drop_pending_updates = null) - * @method static mixed|null getWebhookInfo() - * @method static \SergiX44\Nutgram\Nutgram asResponse() - * @method static mixed get(mixed $key, mixed $default = null) - * @method static mixed set(mixed $key, mixed $value) - * @method static void delete(mixed $key) - * @method static void clear() - * @method static mixed getGlobalData(void $key, mixed $default = null) - * @method static bool setGlobalData(void $key, void $value, \DateInterval|int|null $ttl = null) - * @method static bool deleteGlobalData(void $key) - * @method static mixed getUserData(void $key, int|null $userId = null, mixed $default = null) - * @method static bool setUserData(void $key, void $value, int|null $userId = null, \DateInterval|int|null $ttl = null) - * @method static bool deleteUserData(void $key, int|null $userId = null) - * @method static mixed|null currentHandler() - * @method static array currentParameters() - * @method static mixed validateWebAppData(string $queryString) - * @method static mixed validateWebAppDataForThirdParty(int $botId, string $queryString, string $publicKey = 'e7bf03a2fa4602af4580703d88dda5bb59f32ed8b02a56c187fe7d34caed242d') - * @method static mixed validateLoginData(string $queryString) * @method static \SergiX44\Nutgram\Testing\FakeNutgram instance(mixed $update = null, array $responses = [], \SergiX44\Nutgram\Configuration|null $config = null) * @method static array getRequestHistory() * @method static array getDumpHistory() @@ -426,7 +426,7 @@ * @method static \SergiX44\Nutgram\Testing\FakeNutgram setCommonUser(\SergiX44\Nutgram\Telegram\Types\User\User $user) * @method static \SergiX44\Nutgram\Testing\FakeNutgram setCommonChat(\SergiX44\Nutgram\Telegram\Types\Chat\Chat $chat) * @method static \SergiX44\Nutgram\Testing\FakeNutgram hearUpdate(mixed $update) - * @method static \SergiX44\Nutgram\Testing\FakeNutgram hearUpdateType(mixed $type, array $partialAttributes = []) + * @method static \SergiX44\Nutgram\Testing\FakeNutgram hearUpdateType(\SergiX44\Nutgram\Telegram\Properties\UpdateType $type, array $partialAttributes = []) * @method static \SergiX44\Nutgram\Testing\FakeNutgram hearMessage(array $value) * @method static \SergiX44\Nutgram\Testing\FakeNutgram hearText(string $value) * @method static \SergiX44\Nutgram\Testing\FakeNutgram hearCallbackQueryData(string $value)