File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 19
19
* @method string getFirstName() Contact's first name
20
20
* @method string getLastName() Optional. Contact's last name
21
21
* @method int getUserId() Optional. Contact's user identifier in Telegram
22
+ * @method string getVcard() Optional. Additional data about the contact in the form of a vCard
22
23
*/
23
24
class Contact extends Entity
24
25
{
Original file line number Diff line number Diff line change 37
37
* @method string getPhoneNumber() Contact's phone number
38
38
* @method string getFirstName() Contact's first name
39
39
* @method string getLastName() Optional. Contact's last name
40
+ * @method string getVcard() Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes
40
41
* @method InlineKeyboard getReplyMarkup() Optional. Inline keyboard attached to the message
41
42
* @method InputMessageContent getInputMessageContent() Optional. Content of the message to be sent instead of the contact
42
43
* @method string getThumbUrl() Optional. Url of the thumbnail for the result
47
48
* @method $this setPhoneNumber(string $phone_number) Contact's phone number
48
49
* @method $this setFirstName(string $first_name) Contact's first name
49
50
* @method $this setLastName(string $last_name) Optional. Contact's last name
51
+ * @method $this setVcard(string $vcard) Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes
50
52
* @method $this setReplyMarkup(InlineKeyboard $reply_markup) Optional. Inline keyboard attached to the message
51
53
* @method $this setInputMessageContent(InputMessageContent $input_message_content) Optional. Content of the message to be sent instead of the contact
52
54
* @method $this setThumbUrl(string $thumb_url) Optional. Url of the thumbnail for the result
Original file line number Diff line number Diff line change 22
22
* 'phone_number' => '',
23
23
* 'first_name' => '',
24
24
* 'last_name' => '',
25
+ * 'vcard' => '',
25
26
* ];
26
27
* </code>
27
28
*
28
29
* @method string getPhoneNumber() Contact's phone number
29
30
* @method string getFirstName() Contact's first name
30
31
* @method string getLastName() Optional. Contact's last name
32
+ * @method string getVcard() Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes
31
33
*
32
34
* @method $this setPhoneNumber(string $phone_number) Contact's phone number
33
35
* @method $this setFirstName(string $first_name) Contact's first name
34
36
* @method $this setLastName(string $last_name) Optional. Contact's last name
37
+ * @method $this setVcard(string $vcard) Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes
35
38
*/
36
39
class InputContactMessageContent extends InlineEntity implements InputMessageContent
37
40
{
You can’t perform that action at this time.
0 commit comments