Package it.tdlight.jni
Class TdApi.UserPrivacySettingAllowFindingByPhoneNumber
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.UserPrivacySetting
it.tdlight.jni.TdApi.UserPrivacySettingAllowFindingByPhoneNumber
- Enclosing class:
- TdApi
public static class TdApi.UserPrivacySettingAllowFindingByPhoneNumber extends TdApi.UserPrivacySetting
A privacy setting for managing whether
the user can be found by their phone
number. Checked only if the phone
number is not known to the other user.
Can be set only to "Allow
contacts" or "Allow all".
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description UserPrivacySettingAllowFindingByPhoneNumber()
A privacy setting for managing whether the user can be found by their phone number.UserPrivacySettingAllowFindingByPhoneNumber(DataInput input)
A privacy setting for managing whether the user can be found by their phone number. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UserPrivacySettingAllowFindingByPhoneNumber
public UserPrivacySettingAllowFindingByPhoneNumber()A privacy setting for managing whether the user can be found by their phone number. Checked only if the phone number is not known to the other user. Can be set only to "Allow contacts" or "Allow all". -
UserPrivacySettingAllowFindingByPhoneNumber
A privacy setting for managing whether the user can be found by their phone number. Checked only if the phone number is not known to the other user. Can be set only to "Allow contacts" or "Allow all".- 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()
-