public static class TdApi.GetMessagePublicForwards extends TdApi.Function
Returns FoundMessages
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier of the message.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of messages to be returned; must be positive and can't be greater than 100.
|
long |
messageId
Message identifier.
|
java.lang.String |
offset
Offset of the first entry to return as received from the previous request; use empty string to get first chunk of results.
|
Constructor and Description |
---|
GetMessagePublicForwards()
Default constructor for a function, which returns forwarded copies of a channel message to different public channels.
|
GetMessagePublicForwards(long chatId,
long messageId,
java.lang.String offset,
int limit)
Creates a function, which returns forwarded copies of a channel message to different public channels.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long messageId
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetMessagePublicForwards()
Returns FoundMessages
public GetMessagePublicForwards(long chatId, long messageId, java.lang.String offset, int limit)
Returns FoundMessages
chatId
- Chat identifier of the message.messageId
- Message identifier.offset
- Offset of the first entry to return as received from the previous request; use empty string to get first chunk of results.limit
- The maximum number of messages to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit.public int getConstructor()
getConstructor
in class TdApi.Function