Skip to content

Commit 25faeb1

Browse files
committed
Fix type
1 parent 92883dc commit 25faeb1

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

schemas

src/Namespace/Messages.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3233,8 +3233,9 @@ public function readPollVotes(array|int|string|null $peer = null, int|null $top_
32333233
* @param ?int $floodWaitLimit Can be used to specify a custom flood wait limit: if a FLOOD_WAIT_ rate limiting error is received with a waiting period bigger than this integer, an RPCErrorException will be thrown; otherwise, MadelineProto will simply wait for the specified amount of time. Defaults to the value specified in the settings: https://docs.madelineproto.xyz/PHP/danog/MadelineProto/Settings/RPC.html#setfloodtimeout-int-floodtimeout-self
32343234
* @param ?string $queueId If specified, ensures strict server-side execution order of concurrent calls with the same queue ID.
32353235
* @param ?\Amp\Cancellation $cancellation Cancellation
3236+
* @return array{_: 'inputBotInlineMessageID', dc_id: int, id: int, access_hash: int}|array{_: 'inputBotInlineMessageID64', dc_id: int, owner_id: int, id: int, access_hash: int} @see https://docs.madelineproto.xyz/API_docs/types/InputBotInlineMessageID.html
32363237
*/
3237-
public function setBotGuestChatResult(array $result, int|null $query_id = 0, ?int $floodWaitLimit = null, ?string $queueId = null, ?\Amp\Cancellation $cancellation = null): bool;
3238+
public function setBotGuestChatResult(array $result, int|null $query_id = 0, ?int $floodWaitLimit = null, ?string $queueId = null, ?\Amp\Cancellation $cancellation = null): array;
32383239

32393240
/**
32403241
*

src/TL_telegram_v225.tl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,7 @@ messages.addPollAnswer#19bc4b6d peer:InputPeer msg_id:int answer:PollAnswer = Up
26202620
messages.deletePollAnswer#ac8505a5 peer:InputPeer msg_id:int option:bytes = Updates;
26212621
messages.getUnreadPollVotes#43286cf2 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
26222622
messages.readPollVotes#1720b4d8 flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
2623-
messages.setBotGuestChatResult#52b08db query_id:long result:InputBotInlineResult = Bool;
2623+
messages.setBotGuestChatResult#b8f106e3 query_id:long result:InputBotInlineResult = InputBotInlineMessageID;
26242624
messages.deleteParticipantReactions#a0b80cf8 peer:InputPeer participant:InputPeer = Bool;
26252625
messages.deleteParticipantReaction#e3b7f82c peer:InputPeer msg_id:int participant:InputPeer = Updates;
26262626
messages.getPersonalChannelHistory#55fb0996 user_id:InputUser limit:int max_id:int min_id:int hash:long = messages.Messages;

0 commit comments

Comments
 (0)