Skip to content

Commit eaa6975

Browse files
committed
Update bot.rs
・update doc comment
1 parent 006d715 commit eaa6975

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/bot.rs

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ impl LineBot {
304304
)
305305
}
306306

307-
/// # Managing Audience
308-
/// TODO: Unimplemented: More Request Body <br>
307+
/// # Note
308+
/// **TODO: Unimplemented: More Request Body <br>**
309309
/// You can create, update, activate, or delete an audience. Specify the audience when sending narrowcast messages [\[detail\]](https://developers.line.biz/en/reference/messaging-api/#manage-audience-group)
310310
/// ```
311311
/// let res: Result<Response, Error> = bot.create_audience_group_for_uploading_user_ids("audienceGroupName");
@@ -322,9 +322,12 @@ impl LineBot {
322322
self.http_client.post("/audienceGroup/upload", data)
323323
}
324324

325-
/// # Create audience for uploading user IDs (by file)
326-
/// TODO: Unimplemented: File send <br>
325+
/// # Note
326+
/// **TODO: Unimplemented: File send <br>**
327327
/// Creates an audience for uploading user IDs [\[detail\]](https://developers.line.biz/ja/reference/messaging-api/#create-upload-audience-group-by-file-request-body)
328+
/// ```
329+
/// let res: Result<Response, Error> = bot.create_audience_group_for_uploading_user_ids_by_file();
330+
/// ```
328331
pub fn create_audience_group_for_uploading_user_ids_by_file(
329332
&self,
330333
_description: &str,
@@ -333,8 +336,8 @@ impl LineBot {
333336
.post("/audienceGroup/upload/byFile", json!({}))
334337
}
335338

336-
/// # Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
337-
/// TODO: Create Audience Object <br>
339+
/// # Note
340+
/// **TODO: Create Audience Object <br>**
338341
/// Adds new user IDs or IFAs to an audience for uploading user IDs [\[detail\]](https://developers.line.biz/ja/reference/messaging-api/#update-upload-audience-group)
339342
pub fn update_audience_group_for_uploading_user_ids(
340343
&self,
@@ -352,8 +355,8 @@ impl LineBot {
352355
self.http_client.post("/audienceGroup/upload", data)
353356
}
354357

355-
/// # Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file)
356-
/// TODO: Unimplemented: File send <br>
358+
/// # Note
359+
/// **TODO: Unimplemented: File send <br>**
357360
/// Adds new user IDs or IFAs to an audience for uploading user IDs [\[detail\]](https://developers.line.biz/ja/reference/messaging-api/#update-upload-audience-group-by-file-request-body)
358361
pub fn update_audience_group_for_uploading_user_ids_by_file(
359362
&self,
@@ -442,7 +445,7 @@ impl LineBot {
442445
self.http_client.get(&endpoint, vec![], json!({}))
443446
}
444447

445-
// TODO: https://developers.line.biz/ja/reference/messaging-api/#get-audience-groups
448+
// **TODO: https://developers.line.biz/ja/reference/messaging-api/#get-audience-groups**
446449
pub fn get_many_audience_information(
447450
&self,
448451
page: &str,
@@ -606,7 +609,7 @@ impl LineBot {
606609
self.http_client.post(&endpoint, json!({}))
607610
}
608611

609-
// TODO: rich-menu
612+
// **TODO: rich-menu**
610613
// https://developers.line.biz/ja/reference/messaging-api/#rich-menu
611614

612615
pub fn issue_link_token(&self, user_id: &str) -> Result<Response, Error> {

0 commit comments

Comments
 (0)