Package org.drinkless.tdlib
Class TdApi.SendRichMessageDraft
- Enclosing class:
- TdApi
Sends a draft for a being generated rich message; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.longUnique identifier of the draft.intThe forum topic identifier in which the message will be sent; pass 0 if none.Draft of the message; file upload isn't supported. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which sends a draft for a being generated rich message; for bots only.SendRichMessageDraft(long chatId, int forumTopicId, long draftId, TdApi.InputRichMessage message) Creates a function, which sends a draft for a being generated rich message; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
forumTopicId
public int forumTopicIdThe forum topic identifier in which the message will be sent; pass 0 if none. -
draftId
public long draftIdUnique identifier of the draft. -
message
Draft of the message; file upload isn't supported. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SendRichMessageDraft
public SendRichMessageDraft()Default constructor for a function, which sends a draft for a being generated rich message; for bots only.Returns
Ok -
SendRichMessageDraft
public SendRichMessageDraft(long chatId, int forumTopicId, long draftId, TdApi.InputRichMessage message) Creates a function, which sends a draft for a being generated rich message; for bots only.Returns
Ok- Parameters:
chatId- Chat identifier.forumTopicId- The forum topic identifier in which the message will be sent; pass 0 if none.draftId- Unique identifier of the draft.message- Draft of the message; file upload isn't supported.
-
-
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
-