Package org.drinkless.tdlib
Class TdApi.DeleteEphemeralMessage
- Enclosing class:
- TdApi
Deletes an ephemeral message; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.intIdentifiers of the message to be deleted.longIdentifier of the user who received the message. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which deletes an ephemeral message; for bots only.DeleteEphemeralMessage(long chatId, long receiverUserId, int ephemeralMessageId) Creates a function, which deletes an ephemeral message; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
receiverUserId
public long receiverUserIdIdentifier of the user who received the message. -
ephemeralMessageId
public int ephemeralMessageIdIdentifiers of the message to be deleted. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DeleteEphemeralMessage
public DeleteEphemeralMessage()Default constructor for a function, which deletes an ephemeral message; for bots only.Returns
Ok -
DeleteEphemeralMessage
public DeleteEphemeralMessage(long chatId, long receiverUserId, int ephemeralMessageId) Creates a function, which deletes an ephemeral message; for bots only.Returns
Ok- Parameters:
chatId- Chat identifier.receiverUserId- Identifier of the user who received the message.ephemeralMessageId- Identifiers of the message to be deleted.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-