Package org.drinkless.tdlib

# Class TdApi.UserPrivacySettingAllowFindingByPhoneNumber

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UserPrivacySetting
org.drinkless.tdlib.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".

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.UserPrivacySetting

  `TdApi.UserPrivacySetting.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UserPrivacySettingAllowFindingByPhoneNumber()`
  A privacy setting for managing whether the user can be found by their phone number.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    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".

- ## Method Details

  - ### getConstructor

    public int getConstructor()
    Description copied from class: `TdApi.Object`
    Returns an identifier uniquely determining type of the object.
    Specified by:
      `getConstructor` in class `TdApi.UserPrivacySetting`
    Returns:
      this.CONSTRUCTOR