Package org.drinkless.tdlib
Class TdApi.ChatMessageSender
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatMessageSender
- Enclosing class:
- TdApi
Represents a message sender, which can be used to send messages in a chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if Telegram Premium is needed to use the message sender.The message sender. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a message sender, which can be used to send messages in a chat.ChatMessageSender(TdApi.MessageSender sender, boolean needsPremium) Represents a message sender, which can be used to send messages in a chat. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
sender
The message sender. -
needsPremium
public boolean needsPremiumTrue, if Telegram Premium is needed to use the message sender. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatMessageSender
public ChatMessageSender()Represents a message sender, which can be used to send messages in a chat. -
ChatMessageSender
Represents a message sender, which can be used to send messages in a chat.- Parameters:
sender- The message sender.needsPremium- True, if Telegram Premium is needed to use the message sender.
-
-
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
-