java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.SponsoredMessages>
it.tdlight.jni.TdApi.GetChatSponsoredMessages
- Enclosing class:
- TdApi
public static final class TdApi.GetChatSponsoredMessages
extends TdApi.Function<TdApi.SponsoredMessages>
Returns sponsored messages to be shown
in a chat; for channel chats only.
Returns
SponsoredMessages-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat.static final int -
Constructor Summary
ConstructorsConstructorDescriptionReturns sponsored messages to be shown in a chat; for channel chats only.GetChatSponsoredMessages(long chatId) Returns sponsored messages to be shown in a chat; for channel chats only.Returns sponsored messages to be shown in a chat; for channel chats only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetChatSponsoredMessages
public GetChatSponsoredMessages()Returns sponsored messages to be shown in a chat; for channel chats only. ReturnsSponsoredMessages -
GetChatSponsoredMessages
public GetChatSponsoredMessages(long chatId) Returns sponsored messages to be shown in a chat; for channel chats only. ReturnsSponsoredMessages- Parameters:
chatId- long Identifier of the chat.
-
GetChatSponsoredMessages
Returns sponsored messages to be shown in a chat; for channel chats only. ReturnsSponsoredMessages- 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()
-