Added DataAttachment & LinkedMessage & Markups

This commit is contained in:
Alex
2025-08-03 15:07:05 +03:00
parent 51b105b847
commit c5d55a5c0f
45 changed files with 990 additions and 164 deletions
+2 -7
View File
@@ -11,11 +11,9 @@ final readonly class User extends AbstractModel
* @param string $firstName Users first name.
* @param string|null $lastName Users last name.
* @param string|null $username Unique public user name. Can be `null` if user is not accessible or it is not set.
* @param bool $isBot `true` if user is bot.
* @param bool $isBot Is the user a bot.
* @param int $lastActivityTime Time of last user activity in Max (Unix timestamp in milliseconds).
* @param string|null $description User description. Can be `null` if user did not fill it out.
* @param string|null $avatarUrl URL of avatar.
* @param string|null $fullAvatarUrl URL of avatar of a bigger size.
* Can be outdated if user disabled its "online" status in settings.
*/
public function __construct(
public int $userId,
@@ -24,9 +22,6 @@ final readonly class User extends AbstractModel
public ?string $username,
public bool $isBot,
public int $lastActivityTime,
public ?string $description,
public ?string $avatarUrl,
public ?string $fullAvatarUrl,
) {
}
}