public static class TdApi.ToggleStoryIsPostedToChatPage extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPostedToChatPage
Pass true to make the story accessible after expiration; pass false to make it private.
|
int |
storyId
Identifier of the story.
|
long |
storySenderChatId
Identifier of the chat that posted the story.
|
| Constructor and Description |
|---|
ToggleStoryIsPostedToChatPage()
Default constructor for a function, which toggles whether a story is accessible after expiration.
|
ToggleStoryIsPostedToChatPage(long storySenderChatId,
int storyId,
boolean isPostedToChatPage)
Creates a function, which toggles whether a story is accessible after expiration.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long storySenderChatId
public int storyId
public boolean isPostedToChatPage
public static final int CONSTRUCTOR
public ToggleStoryIsPostedToChatPage()
Returns Ok
public ToggleStoryIsPostedToChatPage(long storySenderChatId,
int storyId,
boolean isPostedToChatPage)
Returns Ok
storySenderChatId - Identifier of the chat that posted the story.storyId - Identifier of the story.isPostedToChatPage - Pass true to make the story accessible after expiration; pass false to make it private.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object