Package org.drinkless.tdlib
Class TdApi.GetChatSponsoredMessages
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.SponsoredMessages>
org.drinkless.tdlib.TdApi.GetChatSponsoredMessages
- Enclosing class:
- TdApi
Returns sponsored messages to be shown in a chat; for channel chats and chats with bots only.
Returns SponsoredMessages
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns sponsored messages to be shown in a chat; for channel chats and chats with bots only.GetChatSponsoredMessages(long chatId) Creates a function, which returns sponsored messages to be shown in a chat; for channel chats and chats with bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetChatSponsoredMessages
public GetChatSponsoredMessages()Default constructor for a function, which returns sponsored messages to be shown in a chat; for channel chats and chats with bots only.Returns
SponsoredMessages -
GetChatSponsoredMessages
public GetChatSponsoredMessages(long chatId) Creates a function, which returns sponsored messages to be shown in a chat; for channel chats and chats with bots only.Returns
SponsoredMessages- Parameters:
chatId- Identifier of the chat.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-