1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 11:19:37 +01:00
MadelineProto/old_docs/API_docs_v46/constructors/updateContactLink.md
2017-07-23 16:11:02 +02:00

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