Class TdApi.GetBotMediaPreviews
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.BotMediaPreviews>
dev.voroby.springframework.telegram.client.TdApi.GetBotMediaPreviews
- Enclosing class:
- TdApi
Returns the list of media previews of a bot.
Returns BotMediaPreviews
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the target bot.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns the list of media previews of a bot.GetBotMediaPreviews
(long botUserId) Creates a function, which returns the list of media previews of a bot. -
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
-
botUserId
public long botUserIdIdentifier of the target bot. The bot must have the main Web App. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetBotMediaPreviews
public GetBotMediaPreviews()Default constructor for a function, which returns the list of media previews of a bot.Returns
BotMediaPreviews
-
GetBotMediaPreviews
public GetBotMediaPreviews(long botUserId) Creates a function, which returns the list of media previews of a bot.Returns
BotMediaPreviews
- Parameters:
botUserId
- Identifier of the target bot. The bot must have the main Web App.
-
-
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
-