1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 03:36:55 +01:00
MadelineProto/old_docs/API_docs_v33/constructors/updateContactLink.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

929 B

title description
updateContactLink updateContactLink attributes, type and example

Back to constructors index

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}