Class TdApi.GetChatSponsoredMessages
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.SponsoredMessages>
dev.voroby.springframework.telegram.client.TdApi.GetChatSponsoredMessages
- Enclosing class:
- TdApi
Returns sponsored messages to be shown in a chat; for channel chats only.
Returns SponsoredMessages
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns sponsored messages to be shown in a chat; for channel chats only.GetChatSponsoredMessages
(long chatId) Creates a function, which returns sponsored messages to be shown in a chat; for channel chats only. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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 only.Returns
SponsoredMessages
-
GetChatSponsoredMessages
public GetChatSponsoredMessages(long chatId) Creates a function, which returns sponsored messages to be shown in a chat; for channel chats only.Returns
SponsoredMessages
- Parameters:
chatId
- Identifier of 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
-