public static class TdApi.GetStoryPublicForwards extends TdApi.Function<TdApi.PublicForwards>
Returns PublicForwards
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of messages and stories to be returned; must be positive and can't be greater than 100.
|
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.
|
int |
storyId
The identifier of the story.
|
long |
storySenderChatId
The identifier of the sender of the story.
|
| Constructor and Description |
|---|
GetStoryPublicForwards()
Default constructor for a function, which returns forwards of a story as a message to public chats and reposts by public channels.
|
GetStoryPublicForwards(long storySenderChatId,
int storyId,
java.lang.String offset,
int limit)
Creates a function, which returns forwards of a story as a message to public chats and reposts by public channels.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long storySenderChatId
public int storyId
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetStoryPublicForwards()
Returns PublicForwards
public GetStoryPublicForwards(long storySenderChatId,
int storyId,
java.lang.String offset,
int limit)
Returns PublicForwards
storySenderChatId - The identifier of the sender of the story.storyId - The identifier of the story.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 messages and stories to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object