Class TdApi.SharedChat
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.SharedChat
- Enclosing class:
- TdApi
Contains information about a chat shared with a bot.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.Photo of the chat; for bots only; may be null.Title of the chat; for bots only.Username of the chat; for bots only. -
Constructor Summary
ConstructorDescriptionContains information about a chat shared with a bot.SharedChat
(long chatId, String title, String username, TdApi.Photo photo) Contains information about a chat shared with 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.Object
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
title
Title of the chat; for bots only. -
username
Username of the chat; for bots only. -
photo
Photo of the chat; for bots only; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SharedChat
public SharedChat()Contains information about a chat shared with a bot. -
SharedChat
Contains information about a chat shared with a bot.- Parameters:
chatId
- Chat identifier.title
- Title of the chat; for bots only.username
- Username of the chat; for bots only.photo
- Photo of the chat; for bots only; may be null.
-
-
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
-