public static class TdApi.SharePhoneNumber extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
userId
Identifier of the user with whom to share the phone number.
|
Constructor and Description |
---|
SharePhoneNumber()
Default constructor for a function, which shares the phone number of the current user with a mutual contact.
|
SharePhoneNumber(long userId)
Creates a function, which shares the phone number of the current user with a mutual contact.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long userId
public static final int CONSTRUCTOR
public SharePhoneNumber()
Returns Ok
public SharePhoneNumber(long userId)
Returns Ok
userId
- Identifier of the user with whom to share the phone number. The user must be a mutual contact.public int getConstructor()
getConstructor
in class TdApi.Function