java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.SponsoredMessages
- Enclosing class:
- TdApi
Contains a list of sponsored messages.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intList of sponsored messages.intThe minimum number of messages between shown sponsored messages, or 0 if only one sponsored message must be shown after all ordinary messages. -
Constructor Summary
ConstructorsConstructorDescriptionContains 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-