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

996 B

title description
updateContactLink updateContactLink attributes, type and example

Back to constructors index

Attributes:

Name Type Required
user_id int Yes
my_link contacts_MyLink Yes
foreign_link contacts_ForeignLink Yes

Type: Update

Example:

$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink];

PWRTelegram json-encoded version:

{"_": "updateContactLink", "user_id": int, "my_link": contacts_MyLink, "foreign_link": contacts_ForeignLink}

Or, if you're into Lua:

updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink}