Package it.tdlight.jni
Class TdApi.GetMessagePublicForwards
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetMessagePublicForwards
- Enclosing class:
- TdApi
public static class TdApi.GetMessagePublicForwards extends TdApi.Function
Returns forwarded copies of a channel
message to different public channels.
For optimal performance the number of
returned messages is chosen by the library.
Returns FoundMessages
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier of the message.static int
CONSTRUCTOR
int
limit
The maximum number of messages to be returned; must be positive and can't be greater than 100.long
messageId
Message identifier.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 Summary
Constructors Constructor Description GetMessagePublicForwards()
Returns forwarded copies of a channel message to different public channels.GetMessagePublicForwards(long chatId, long messageId, String offset, int limit)
Returns forwarded copies of a channel message to different public channels.GetMessagePublicForwards(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier of the message. -
messageId
public long messageIdMessage 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
public int limitThe maximum number of messages to be returned; must be positive and can't be greater than 100. Fewer messages may be returned than specified by the limit, even if the end of the list has not been reached. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetMessagePublicForwards
public GetMessagePublicForwards()Returns forwarded copies of a channel message to different public channels. For optimal performance the number of returned messages is chosen by the library.Returns
FoundMessages
-
GetMessagePublicForwards
Returns forwarded copies of a channel message to different public channels. For optimal performance the number of returned messages is chosen by the library.Returns
FoundMessages
- Parameters:
chatId
- long Chat identifier of the message.messageId
- long Message identifier.offset
- String Offset of the first entry to return as received from the previous request; use empty string to get first chunk of results.limit
- int The maximum number of messages to be returned; must be positive and can't be greater than 100. Fewer messages may be returned than specified by the limit, even if the end of the list has not been reached.
-
GetMessagePublicForwards
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-