Package org.drinkless.tdlib
Class TdApi.StoryInteraction
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StoryInteraction
- Enclosing class:
- TdApi
Represents interaction with a story.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIdentifier of the user or chat that made the interaction.Block list to which the actor is added; may be null if none or for chat stories.static final intIdentifier uniquely determining type of the object.intApproximate point in time (Unix timestamp) when the interaction happened.Type of the interaction. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents interaction with a story.StoryInteraction(TdApi.MessageSender actorId, int interactionDate, TdApi.BlockList blockList, TdApi.StoryInteractionType type) Represents interaction with a story. -
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
-
actorId
Identifier of the user or chat that made the interaction. -
interactionDate
public int interactionDateApproximate point in time (Unix timestamp) when the interaction happened. -
blockList
Block list to which the actor is added; may be null if none or for chat stories. -
type
Type of the interaction. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StoryInteraction
public StoryInteraction()Represents interaction with a story. -
StoryInteraction
public StoryInteraction(TdApi.MessageSender actorId, int interactionDate, TdApi.BlockList blockList, TdApi.StoryInteractionType type) Represents interaction with a story.- Parameters:
actorId- Identifier of the user or chat that made the interaction.interactionDate- Approximate point in time (Unix timestamp) when the interaction happened.blockList- Block list to which the actor is added; may be null if none or for chat stories.type- Type of the interaction.
-
-
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
-