Package org.drinkless.tdlib
Class TdApi.GetMessageViewers
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetMessageViewers
-
- Enclosing class:
- TdApi
public static class TdApi.GetMessageViewers extends TdApi.Function
Returns viewers of a recent outgoing message in a basic group or a supergroup chat. For video notes and voice notes only users, opened content of the message, are returned. The method can be called if message.canGetViewers == true.Returns
Users
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.longmessageIdIdentifier of the message.
-
Constructor Summary
Constructors Constructor Description GetMessageViewers()Default constructor for a function, which returns viewers of a recent outgoing message in a basic group or a supergroup chat.GetMessageViewers(long chatId, long messageId)Creates a function, which returns viewers of a recent outgoing message in a basic group or a supergroup chat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
messageId
public long messageId
Identifier of the message.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetMessageViewers
public GetMessageViewers()
Default constructor for a function, which returns viewers of a recent outgoing message in a basic group or a supergroup chat. For video notes and voice notes only users, opened content of the message, are returned. The method can be called if message.canGetViewers == true.Returns
Users
-
GetMessageViewers
public GetMessageViewers(long chatId, long messageId)Creates a function, which returns viewers of a recent outgoing message in a basic group or a supergroup chat. For video notes and voice notes only users, opened content of the message, are returned. The method can be called if message.canGetViewers == true.Returns
Users- Parameters:
chatId- Chat identifier.messageId- Identifier of the message.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-