- Enclosing class:
- TdApi
Blocks an original sender of a message
in the Replies chat.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
Pass true if all messages from the same sender must be deleted.boolean
Pass true if the message must be deleted.long
The identifier of an incoming message in the Replies chat.boolean
Pass true if the sender must be reported to the Telegram moderators. -
Constructor Summary
ConstructorDescriptionBlocks an original sender of a message in the Replies chat.BlockMessageSenderFromReplies
(long messageId, boolean deleteMessage, boolean deleteAllMessages, boolean reportSpam) Blocks an original sender of a message in the Replies chat.Blocks an original sender of a message in the Replies chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
messageId
public long messageIdThe identifier of an incoming message in the Replies chat. -
deleteMessage
public boolean deleteMessagePass true if the message must be deleted. -
deleteAllMessages
public boolean deleteAllMessagesPass true if all messages from the same sender must be deleted. -
reportSpam
public boolean reportSpamPass true if the sender must be reported to the Telegram moderators. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
BlockMessageSenderFromReplies
public BlockMessageSenderFromReplies()Blocks an original sender of a message in the Replies chat. ReturnsOk
-
BlockMessageSenderFromReplies
public BlockMessageSenderFromReplies(long messageId, boolean deleteMessage, boolean deleteAllMessages, boolean reportSpam) Blocks an original sender of a message in the Replies chat. ReturnsOk
- Parameters:
messageId
- long The identifier of an incoming message in the Replies chat.deleteMessage
- boolean Pass true if the message must be deleted.deleteAllMessages
- boolean Pass true if all messages from the same sender must be deleted.reportSpam
- boolean Pass true if the sender must be reported to the Telegram moderators.
-
BlockMessageSenderFromReplies
Blocks an original sender of a message in the Replies chat. ReturnsOk
- 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()
-