1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 01:00:55 +01:00
MadelineProto/old_docs/API_docs_v57/constructors/updateContactLink.md
2017-07-23 16:33:46 +02: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}