MadelineProtoDocs/old_docs/API_docs_v62/constructors/updateContactLink.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1005 B

title description image
updateContactLink updateContactLink attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateContactLink

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}