Package org.drinkless.tdlib
Class TdApi.GroupCallMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GroupCallMessage
- Enclosing class:
- TdApi
Represents a message sent in a group call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if the message can be deleted by the current user; for live stories only.static final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the message was sent.booleanTrue, if the message is sent by the owner of the call and must be treated as a message of the maximum level; for live stories only.intUnique message identifier within the group call.longThe number of Telegram Stars that were paid to send the message; for live stories only.Identifier of the sender of the message.Text of the message. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a message sent in a group call.GroupCallMessage(int messageId, TdApi.MessageSender senderId, int date, TdApi.FormattedText text, long paidMessageStarCount, boolean isFromOwner, boolean canBeDeleted) Represents a message sent in a group call. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
messageId
public int messageIdUnique message identifier within the group call. -
senderId
Identifier of the sender of the message. -
date
public int datePoint in time (Unix timestamp) when the message was sent. -
text
Text of the message. If empty, then the message is a paid reaction in a live story. -
paidMessageStarCount
public long paidMessageStarCountThe number of Telegram Stars that were paid to send the message; for live stories only. -
isFromOwner
public boolean isFromOwnerTrue, if the message is sent by the owner of the call and must be treated as a message of the maximum level; for live stories only. -
canBeDeleted
public boolean canBeDeletedTrue, if the message can be deleted by the current user; for live stories only. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GroupCallMessage
public GroupCallMessage()Represents a message sent in a group call. -
GroupCallMessage
public GroupCallMessage(int messageId, TdApi.MessageSender senderId, int date, TdApi.FormattedText text, long paidMessageStarCount, boolean isFromOwner, boolean canBeDeleted) Represents a message sent in a group call.- Parameters:
messageId- Unique message identifier within the group call.senderId- Identifier of the sender of the message.date- Point in time (Unix timestamp) when the message was sent.text- Text of the message. If empty, then the message is a paid reaction in a live story.paidMessageStarCount- The number of Telegram Stars that were paid to send the message; for live stories only.isFromOwner- True, if the message is sent by the owner of the call and must be treated as a message of the maximum level; for live stories only.canBeDeleted- True, if the message can be deleted by the current user; for live stories only.
-
-
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
-