-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGiftBackground.php
More file actions
38 lines (31 loc) · 974 Bytes
/
GiftBackground.php
File metadata and controls
38 lines (31 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* This file is auto-generated.
*/
namespace Telepath\Telegram;
use Telepath\Types\Type;
/**
* This object describes the background of a gift.
*/
class GiftBackground extends Type
{
/** Center color of the background in RGB format */
public int $center_color;
/** Edge color of the background in RGB format */
public int $edge_color;
/** Text color of the background in RGB format */
public int $text_color;
/**
* @param int $center_color Center color of the background in RGB format
* @param int $edge_color Edge color of the background in RGB format
* @param int $text_color Text color of the background in RGB format
*/
public static function make(int $center_color, int $edge_color, int $text_color): static
{
return new static([
'center_color' => $center_color,
'edge_color' => $edge_color,
'text_color' => $text_color,
]);
}
}