java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.SponsoredMessages
- Enclosing class:
- TdApi
Contains a list of sponsored messages.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
List of sponsored messages.int
The minimum number of messages between shown sponsored messages, or 0 if only one sponsored message must be shown after all ordinary messages. -
Constructor Summary
ConstructorDescriptionContains a list of sponsored messages.SponsoredMessages
(TdApi.SponsoredMessage[] messages, int messagesBetween) Contains a list of sponsored messages.SponsoredMessages
(DataInput input) Contains a list of sponsored messages. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
messages
List of sponsored messages. -
messagesBetween
public int messagesBetweenThe minimum number of messages between shown sponsored messages, or 0 if only one sponsored message must be shown after all ordinary messages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SponsoredMessages
public SponsoredMessages()Contains a list of sponsored messages. -
SponsoredMessages
Contains a list of sponsored messages.- Parameters:
messages
- SponsoredMessage[] List of sponsored messages.messagesBetween
- int The minimum number of messages between shown sponsored messages, or 0 if only one sponsored message must be shown after all ordinary messages.
-
SponsoredMessages
Contains a list of sponsored messages.- 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()
-