public static class TdApi.GetStoryInteractions extends TdApi.Function<TdApi.StoryInteractions>
Returns StoryInteractions
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of story interactions to return.
|
java.lang.String |
offset
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
|
boolean |
onlyContacts
Pass true to get only interactions by contacts; pass false to get all relevant interactions.
|
boolean |
preferForwards
Pass true to get forwards and reposts first, then reactions, then other views; pass false to get interactions sorted just by interaction date.
|
boolean |
preferWithReaction
Pass true to get interactions with reaction first; pass false to get interactions sorted just by interaction date.
|
java.lang.String |
query
Query to search for in names, usernames and titles; may be empty to get all relevant interactions.
|
int |
storyId
Story identifier.
|
| Constructor and Description |
|---|
GetStoryInteractions()
Default constructor for a function, which returns interactions with a story.
|
GetStoryInteractions(int storyId,
java.lang.String query,
boolean onlyContacts,
boolean preferForwards,
boolean preferWithReaction,
java.lang.String offset,
int limit)
Creates a function, which returns interactions with a story.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int storyId
public java.lang.String query
public boolean onlyContacts
public boolean preferForwards
public boolean preferWithReaction
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetStoryInteractions()
Returns StoryInteractions
public GetStoryInteractions(int storyId,
java.lang.String query,
boolean onlyContacts,
boolean preferForwards,
boolean preferWithReaction,
java.lang.String offset,
int limit)
Returns StoryInteractions
storyId - Story identifier.query - Query to search for in names, usernames and titles; may be empty to get all relevant interactions.onlyContacts - Pass true to get only interactions by contacts; pass false to get all relevant interactions.preferForwards - Pass true to get forwards and reposts first, then reactions, then other views; pass false to get interactions sorted just by interaction date.preferWithReaction - Pass true to get interactions with reaction first; pass false to get interactions sorted just by interaction date. Ignored if preferForwards == true.offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.limit - The maximum number of story interactions to return.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object