- Enclosing class:
- TdApi
Shares the phone number of the current
user with a mutual contact. Supposed
to be called when the user clicks on chatActionBarSharePhoneNumber.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Identifier of the user with whom to share the phone number. -
Constructor Summary
ConstructorDescriptionShares the phone number of the current user with a mutual contact.SharePhoneNumber
(long userId) Shares the phone number of the current user with a mutual contact.SharePhoneNumber
(DataInput input) Shares the phone number of the current user with a mutual contact. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public long userIdIdentifier of the user with whom to share the phone number. The user must be a mutual contact. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SharePhoneNumber
public SharePhoneNumber()Shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber. ReturnsOk
-
SharePhoneNumber
public SharePhoneNumber(long userId) Shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber. ReturnsOk
- Parameters:
userId
- long Identifier of the user with whom to share the phone number. The user must be a mutual contact.
-
SharePhoneNumber
Shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-