No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
複数の @メンションを投稿する
- リソース
- 最大 25 個のメンションを含むフィード項目を投稿するには、/chatter/feed-elements を使用します。
- 最大 25 個のメンションを含むコメントを投稿するには、/chatter/feed-elements/feedElementId/capabilities/comments/items を使用します。
- HTTP メソッド
- POST
- リクエストボディ
- フィード項目の場合、Feed Item Input を使用します。
- コメントの場合、Feed Item Input を使用します。
- どちらの入力の場合も、Message Segment Input: Mention を使用します。
- リクエストボディの例
- 次にフィード項目の例を示します。
1{ 2 "body" : { 3 "messageSegments" : [ 4 { 5 "type" : "Text", 6 "text" : "When should we meet for release planning? " 7 }, 8 { 9 "type" : "Mention", 10 "id" : "005T0000000mzCy" 11 }, 12 { 13 "type" : "Text", 14 "text" : " " 15 }, 16 { 17 "type" : "Mention", 18 "id" : "005B0000000Ek1S" 19 } 20 ] 21 }, 22 "feedElementType" : "FeedItem", 23 "subjectId" : "005D00000016Qxp" 24} - 次にコメントの例を示します。
1{ "body" : 2 { 3 "messageSegments" : [ 4 { 5 "type": "mention", 6 "id":"005D0000001LL8YIAW" 7 }, 8 { 9 "type" : "Text", 10 "text" : " " 11 }, 12 { 13 "type": "mention", 14 "id":"005D0000001LL8sIAG" 15 }, 16 { 17 "type": "text", 18 "text":" Did you see the new plans?" 19 } 20 ] 21 } 22} - 戻り値
- Feed Item
- Comment