Skip to content

Commit f29344d

Browse files
committed
Update Message model
1 parent 3012272 commit f29344d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Models/Message.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
* @param string|null $url Message public URL. Can be null for dialogs or non-public chats/channels.
1818
* @param LinkedMessage|null $link Forwarded or replied message.
1919
* @param MessageStat|null $stat Message statistics. Available only for channels.
20+
* @param int|null $chatId
21+
* @param int|null $recipientId
22+
* @param string|null $messageId
2023
*/
2124
public function __construct(
2225
public int $timestamp,
@@ -26,6 +29,9 @@ public function __construct(
2629
public ?string $url,
2730
public ?LinkedMessage $link,
2831
public ?MessageStat $stat,
32+
public ?int $chatId,
33+
public ?int $recipientId,
34+
public ?string $messageId,
2935
) {
3036
}
3137
}

0 commit comments

Comments
 (0)