Package org.drinkless.tdlib
Class TdApi.SponsoredChat
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.SponsoredChat
- Enclosing class:
- TdApi
Describes a sponsored chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIf non-empty, additional information about the sponsored chat to be shown along with the chat.long
Chat identifier.static final int
Identifier uniquely determining type of the object.Additional optional information about the sponsor to be shown along with the chat.long
Unique identifier of this result. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a sponsored chat.SponsoredChat
(long uniqueId, long chatId, String sponsorInfo, String additionalInfo) Describes a sponsored chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
uniqueId
public long uniqueIdUnique identifier of this result. -
chatId
public long chatIdChat identifier. -
sponsorInfo
Additional optional information about the sponsor to be shown along with the chat. -
additionalInfo
If non-empty, additional information about the sponsored chat to be shown along with the chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SponsoredChat
public SponsoredChat()Describes a sponsored chat. -
SponsoredChat
Describes a sponsored chat.- Parameters:
uniqueId
- Unique identifier of this result.chatId
- Chat identifier.sponsorInfo
- Additional optional information about the sponsor to be shown along with the chat.additionalInfo
- If non-empty, additional information about the sponsored chat to be shown along with the chat.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-