2021-12-08 00:15:09 +00:00
<!DOCTYPE HTML>
< html lang = "en" >
< head >
<!-- Generated by javadoc (17) -->
2021-12-24 23:40:05 +00:00
< title > Uses of Class it.tdlight.jni.TdApi.DraftMessage (tdlight API 4.0.206 API)< / title >
2021-12-08 00:15:09 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" > < style >
#memberSummary_tabpanel{overflow-x: auto;}
li.blockList{overflow-x: auto;}
td.colLast div{max-width:30vw;}
#search{width: 400px;max-width: 65vw;}
.title,.subTitle,pre,.inheritance,h1,h2,h3,h4,h5,.memberSummary,.memberSignature,.typeSummary,.blockList,.contentContainer{white-space:normal;word-break:break-word;}
ul{padding-left:10px}
< / style >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
< meta name = "description" content = "use: module: tdlight.api, package: it.tdlight.jni, class: TdApi, class: DraftMessage" >
< meta name = "generator" content = "javadoc/ClassUseWriter" >
< link rel = "stylesheet" type = "text/css" href = "../../../../../stylesheet.css" title = "Style" >
< link rel = "stylesheet" type = "text/css" href = "../../../../../script-dir/jquery-ui.min.css" title = "Style" >
< link rel = "stylesheet" type = "text/css" href = "../../../../../jquery-ui.overrides.css" title = "Style" >
< script type = "text/javascript" src = "../../../../../script.js" > < / script >
< script type = "text/javascript" src = "../../../../../script-dir/jquery-3.5.1.min.js" > < / script >
< script type = "text/javascript" src = "../../../../../script-dir/jquery-ui.min.js" > < / script >
< / head >
< body class = "class-use-page" >
< script type = "text/javascript" > v a r p a t h t o r o o t = " . . / . . / . . / . . / . . / " ;
loadScripts(document, 'script');< / script >
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
< div class = "flex-box" >
< header role = "banner" class = "flex-header" >
< nav role = "navigation" >
<!-- ========= START OF TOP NAVBAR ======= -->
< div class = "top-nav" id = "navbar-top" >
< div class = "skip-nav" > < a href = "#skip-navbar-top" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< ul id = "navbar-top-firstrow" class = "nav-list" title = "Navigation" >
< li > < a href = "../../../../module-summary.html" > Module< / a > < / li >
< li > < a href = "../package-summary.html" > Package< / a > < / li >
< li > < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > Class< / a > < / li >
< li class = "nav-bar-cell1-rev" > Use< / li >
< li > < a href = "../package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../../../help-doc.html#use" > Help< / a > < / li >
< / ul >
< / div >
< div class = "sub-nav" >
< div class = "nav-list-search" > < label for = "search-input" > SEARCH:< / label >
< input type = "text" id = "search-input" value = "search" disabled = "disabled" >
< input type = "reset" id = "reset-button" value = "reset" disabled = "disabled" >
< / div >
< / div >
<!-- ========= END OF TOP NAVBAR ========= -->
< span class = "skip-nav" id = "skip-navbar-top" > < / span > < / nav >
< / header >
< div class = "flex-content" >
< main role = "main" >
< div class = "header" >
< h1 title = "Uses of Class it.tdlight.jni.TdApi.DraftMessage" class = "title" > Uses of Class< br > it.tdlight.jni.TdApi.DraftMessage< / h1 >
< / div >
< section class = "class-uses" >
< ul class = "block-list" >
< li >
< section class = "detail" id = "it.tdlight.jni" >
< h2 > Uses of < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > in < a href = "../package-summary.html" > it.tdlight.jni< / a > < / h2 >
< div class = "caption" > < span > Fields in < a href = "../package-summary.html" > it.tdlight.jni< / a > declared as < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > < / span > < / div >
< div class = "summary-table three-column-summary" >
< div class = "table-header col-first" > Modifier and Type< / div >
< div class = "table-header col-second" > Field< / div >
< div class = "table-header col-last" > Description< / div >
< div class = "col-first even-row-color" > < code > < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > < / code > < / div >
< div class = "col-second even-row-color" > < span class = "type-name-label" > TdApi.Chat.< / span > < code > < a href = "../TdApi.Chat.html#draftMessage" class = "member-name-link" > draftMessage< / a > < / code > < / div >
< div class = "col-last even-row-color" >
< div class = "block" > A draft of a message in the chat; may be null.< / div >
< / div >
< div class = "col-first odd-row-color" > < code > < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > < / code > < / div >
< div class = "col-second odd-row-color" > < span class = "type-name-label" > TdApi.MessageThreadInfo.< / span > < code > < a href = "../TdApi.MessageThreadInfo.html#draftMessage" class = "member-name-link" > draftMessage< / a > < / code > < / div >
< div class = "col-last odd-row-color" >
< div class = "block" > A draft of a message in the message
thread; may be null.< / div >
< / div >
< div class = "col-first even-row-color" > < code > < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > < / code > < / div >
< div class = "col-second even-row-color" > < span class = "type-name-label" > TdApi.SetChatDraftMessage.< / span > < code > < a href = "../TdApi.SetChatDraftMessage.html#draftMessage" class = "member-name-link" > draftMessage< / a > < / code > < / div >
< div class = "col-last even-row-color" >
< div class = "block" > New draft message; pass null to remove the draft.< / div >
< / div >
< div class = "col-first odd-row-color" > < code > < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > < / code > < / div >
< div class = "col-second odd-row-color" > < span class = "type-name-label" > TdApi.UpdateChatDraftMessage.< / span > < code > < a href = "../TdApi.UpdateChatDraftMessage.html#draftMessage" class = "member-name-link" > draftMessage< / a > < / code > < / div >
< div class = "col-last odd-row-color" >
< div class = "block" > The new draft message; may be null.< / div >
< / div >
< / div >
< div class = "caption" > < span > Constructors in < a href = "../package-summary.html" > it.tdlight.jni< / a > with parameters of type < a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > < / span > < / div >
< div class = "summary-table three-column-summary" >
< div class = "table-header col-first" > Modifier< / div >
< div class = "table-header col-second" > Constructor< / div >
< div class = "table-header col-last" > Description< / div >
< div class = "col-first even-row-color" > < code > < / code > < / div >
< div class = "col-second even-row-color" > < code > < a href = "../TdApi.Chat.html#%3Cinit%3E(long,it.tdlight.jni.TdApi.ChatType,java.lang.String,it.tdlight.jni.TdApi.ChatPhotoInfo,it.tdlight.jni.TdApi.ChatPermissions,it.tdlight.jni.TdApi.Message,it.tdlight.jni.TdApi.ChatPosition%5B%5D,it.tdlight.jni.TdApi.MessageSender,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,int,long,long,int,it.tdlight.jni.TdApi.ChatNotificationSettings,int,java.lang.String,it.tdlight.jni.TdApi.ChatActionBar,it.tdlight.jni.TdApi.VideoChat,it.tdlight.jni.TdApi.ChatJoinRequestsInfo,long,it.tdlight.jni.TdApi.DraftMessage,java.lang.String)" class = "member-name-link" > Chat< / a > < wbr > (long id,
< a href = "../TdApi.ChatType.html" title = "class in it.tdlight.jni" > TdApi.ChatType< / a > type,
< a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title = "class or interface in java.lang" class = "external-link" > String< / a > title,
< a href = "../TdApi.ChatPhotoInfo.html" title = "class in it.tdlight.jni" > TdApi.ChatPhotoInfo< / a > photo,
< a href = "../TdApi.ChatPermissions.html" title = "class in it.tdlight.jni" > TdApi.ChatPermissions< / a > permissions,
< a href = "../TdApi.Message.html" title = "class in it.tdlight.jni" > TdApi.Message< / a > lastMessage,
< a href = "../TdApi.ChatPosition.html" title = "class in it.tdlight.jni" > TdApi.ChatPosition< / a > [] positions,
2021-12-24 23:40:05 +00:00
< a href = "../TdApi.MessageSender.html" title = "class in it.tdlight.jni" > TdApi.MessageSender< / a > messageSenderId,
2021-12-08 00:15:09 +00:00
boolean hasProtectedContent,
boolean isMarkedAsUnread,
boolean isBlocked,
boolean hasScheduledMessages,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canBeReported,
boolean defaultDisableNotification,
int unreadCount,
long lastReadInboxMessageId,
long lastReadOutboxMessageId,
int unreadMentionCount,
< a href = "../TdApi.ChatNotificationSettings.html" title = "class in it.tdlight.jni" > TdApi.ChatNotificationSettings< / a > notificationSettings,
2021-12-24 23:40:05 +00:00
int messageTtl,
2021-12-08 00:15:09 +00:00
< a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title = "class or interface in java.lang" class = "external-link" > String< / a > themeName,
< a href = "../TdApi.ChatActionBar.html" title = "class in it.tdlight.jni" > TdApi.ChatActionBar< / a > actionBar,
< a href = "../TdApi.VideoChat.html" title = "class in it.tdlight.jni" > TdApi.VideoChat< / a > videoChat,
< a href = "../TdApi.ChatJoinRequestsInfo.html" title = "class in it.tdlight.jni" > TdApi.ChatJoinRequestsInfo< / a > pendingJoinRequests,
long replyMarkupMessageId,
< a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > draftMessage,
< a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title = "class or interface in java.lang" class = "external-link" > String< / a > clientData)< / code > < / div >
< div class = "col-last even-row-color" >
< div class = "block" > A chat.< / div >
< / div >
< div class = "col-first odd-row-color" > < code > < / code > < / div >
< div class = "col-second odd-row-color" > < code > < a href = "../TdApi.MessageThreadInfo.html#%3Cinit%3E(long,long,it.tdlight.jni.TdApi.MessageReplyInfo,int,it.tdlight.jni.TdApi.Message%5B%5D,it.tdlight.jni.TdApi.DraftMessage)" class = "member-name-link" > MessageThreadInfo< / a > < wbr > (long chatId,
long messageThreadId,
< a href = "../TdApi.MessageReplyInfo.html" title = "class in it.tdlight.jni" > TdApi.MessageReplyInfo< / a > replyInfo,
int unreadMessageCount,
< a href = "../TdApi.Message.html" title = "class in it.tdlight.jni" > TdApi.Message< / a > [] messages,
< a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > draftMessage)< / code > < / div >
< div class = "col-last odd-row-color" >
< div class = "block" > Contains information about a message thread.< / div >
< / div >
< div class = "col-first even-row-color" > < code > < / code > < / div >
< div class = "col-second even-row-color" > < code > < a href = "../TdApi.SetChatDraftMessage.html#%3Cinit%3E(long,long,it.tdlight.jni.TdApi.DraftMessage)" class = "member-name-link" > SetChatDraftMessage< / a > < wbr > (long chatId,
long messageThreadId,
< a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > draftMessage)< / code > < / div >
< div class = "col-last even-row-color" >
< div class = "block" > Changes the draft message in a chat.< / div >
< / div >
< div class = "col-first odd-row-color" > < code > < / code > < / div >
< div class = "col-second odd-row-color" > < code > < a href = "../TdApi.UpdateChatDraftMessage.html#%3Cinit%3E(long,it.tdlight.jni.TdApi.DraftMessage,it.tdlight.jni.TdApi.ChatPosition%5B%5D)" class = "member-name-link" > UpdateChatDraftMessage< / a > < wbr > (long chatId,
< a href = "../TdApi.DraftMessage.html" title = "class in it.tdlight.jni" > TdApi.DraftMessage< / a > draftMessage,
< a href = "../TdApi.ChatPosition.html" title = "class in it.tdlight.jni" > TdApi.ChatPosition< / a > [] positions)< / code > < / div >
< div class = "col-last odd-row-color" >
< div class = "block" > A chat draft has changed.< / div >
< / div >
< / div >
< / section >
< / li >
< / ul >
< / section >
< / main >
< footer role = "contentinfo" >
< hr >
< p class = "legal-copy" > < small > Copyright © 2021. All rights reserved.< / small > < / p >
< / footer >
< / div >
< / div >
< / body >
< / html >