Package it.tdlight.jni
Class TdApi.DeletePassportElement
- Enclosing class:
- TdApi
public static class TdApi.DeletePassportElement extends TdApi.Function<TdApi.Ok>
Deletes a Telegram Passport element.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.PassportElementType
type
Element type. -
Constructor Summary
Constructors Constructor Description DeletePassportElement()
Deletes a Telegram Passport element.DeletePassportElement(TdApi.PassportElementType type)
Deletes a Telegram Passport element.DeletePassportElement(DataInput input)
-
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.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
type
Element type. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
DeletePassportElement
public DeletePassportElement()Deletes a Telegram Passport element.Returns
Ok
-
DeletePassportElement
Deletes a Telegram Passport element.Returns
Ok
- Parameters:
type
- PassportElementType Element type.
-
DeletePassportElement
- 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()
-