MadelineProtoDocs/old_docs/API_docs_v18/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

1.0 KiB

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 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}