MadelineProtoDocs/old_docs/API_docs_v40/constructors/updateContactLink.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

title description image
updateContactLink Update contact link https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateContactLink

Back to constructors index

Update contact link

Attributes:

Name Type Required Description
user_id int Yes User ID
my_link ContactLink Yes My link
foreign_link ContactLink Yes Foreign link

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}