mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 12:26:55 +01:00
929 B
929 B
title | description |
---|---|
updateContactLink | updateContactLink attributes, type and example |
Constructor: updateContactLink
Attributes:
Name | Type | Required |
---|---|---|
user_id | int | Yes |
my_link | ContactLink | Yes |
foreign_link | ContactLink | Yes |
Type: Update
Example:
$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink];
PWRTelegram json-encoded version:
{"_": "updateContactLink", "user_id": int, "my_link": ContactLink, "foreign_link": ContactLink}
Or, if you're into Lua:
updateContactLink={_='updateContactLink', user_id=int, my_link=ContactLink, foreign_link=ContactLink}