Package it.tdlight.jni
Class TdApi.UpdateChatDraftMessage
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateChatDraftMessage
- Enclosing class:
- TdApi
public static class TdApi.UpdateChatDraftMessage extends TdApi.Update
A chat draft has changed. Be aware
that the update may come in the
currently opened chat but with old
content of the draft. If the user has
changed the content of the draft, this
update shouldn't be applied.
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
TdApi.DraftMessage
draftMessage
The new draft message; may be null.TdApi.ChatPosition[]
positions
The new chat positions in the chat lists. -
Constructor Summary
Constructors Constructor Description UpdateChatDraftMessage()
A chat draft has changed.UpdateChatDraftMessage(long chatId, TdApi.DraftMessage draftMessage, TdApi.ChatPosition[] positions)
A chat draft has changed.UpdateChatDraftMessage(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
draftMessage
The new draft message; may be null. -
positions
The new chat positions in the chat lists. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateChatDraftMessage
public UpdateChatDraftMessage()A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update shouldn't be applied. -
UpdateChatDraftMessage
public UpdateChatDraftMessage(long chatId, TdApi.DraftMessage draftMessage, TdApi.ChatPosition[] positions)A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update shouldn't be applied.- Parameters:
chatId
- long Chat identifier.draftMessage
- DraftMessage The new draft message; may be null.positions
- ChatPosition[] The new chat positions in the chat lists.
-
UpdateChatDraftMessage
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-