MadelineProtoDocs/old_docs/API_docs_v0/constructors/contacts.link.md
2020-06-16 17:50:25 +02:00

946 B

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

Constructor: contacts.link

Back to constructors index

Attributes:

Name Type Required
my_link contacts.MyLink Yes
foreign_link contacts.ForeignLink Yes
user User Optional

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}