View Source ExTDLib.Method.SharePhoneNumber (ExTDLib v0.0.4)

Shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber. Returns object_ptr<Ok>.

NameTypeDescription
user_idstringIdentifier of the user with whom to share the phone number. The user must be a mutual contact.

More details on telegram's documentation.