MadelineProtoDocs/old_docs/API_docs_v18/constructors/contacts.link.md
2019-12-27 18:46:25 +01:00

968 B

title description image redirect_from
contacts.link Link https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/contacts_link.html

Constructor: contacts.link

Back to constructors index

Link

Attributes:

Name Type Required Description
my_link contacts.MyLink Yes My link
foreign_link contacts.ForeignLink Yes Foreign link
user User Optional User

Type: contacts.Link

Example:

$contacts.link = ['_' => 'contacts.link', 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, 'user' => User];

Or, if you're into Lua:

contacts.link={_='contacts.link', my_link=contacts.MyLink, foreign_link=contacts.ForeignLink, user=User}