#api-client #line #messaging #bot #open-api #describe #sdk

line_messaging_api

This document describes LINE Messaging API

3 releases

0.0.3 Apr 20, 2024
0.0.2 Feb 13, 2024
0.0.1 Dec 3, 2023

#9 in #describe

Download history 12/week @ 2024-09-18 20/week @ 2024-09-25 2/week @ 2024-10-09 1/week @ 2024-10-16

182 downloads per month
Used in line-bot-sdk-rust

Unlicense

370KB
6K SLoC

Rust API client for line_messaging_api

This document describes LINE Messaging API.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.3
  • Package version: 0.0.3
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named line_messaging_api and add the following to Cargo.toml under [dependencies]:

line_messaging_api = { path = "./line_messaging_api" }

Documentation for API Endpoints

All URIs are relative to https://api.line.me

Class Method HTTP request Description
MessagingApiApi audience_match Post /bot/ad/multicast/phone
MessagingApiApi broadcast Post /v2/bot/message/broadcast
MessagingApiApi cancel_default_rich_menu Delete /v2/bot/user/all/richmenu
MessagingApiApi create_rich_menu Post /v2/bot/richmenu
MessagingApiApi create_rich_menu_alias Post /v2/bot/richmenu/alias
MessagingApiApi delete_rich_menu Delete /v2/bot/richmenu/{richMenuId}
MessagingApiApi delete_rich_menu_alias Delete /v2/bot/richmenu/alias/{richMenuAliasId}
MessagingApiApi get_ad_phone_message_statistics Get /v2/bot/message/delivery/ad_phone
MessagingApiApi get_aggregation_unit_name_list Get /v2/bot/message/aggregation/list
MessagingApiApi get_aggregation_unit_usage Get /v2/bot/message/aggregation/info
MessagingApiApi get_bot_info Get /v2/bot/info
MessagingApiApi get_default_rich_menu_id Get /v2/bot/user/all/richmenu
MessagingApiApi get_followers Get /v2/bot/followers/ids
MessagingApiApi get_group_member_count Get /v2/bot/group/{groupId}/members/count
MessagingApiApi get_group_member_profile Get /v2/bot/group/{groupId}/member/{userId}
MessagingApiApi get_group_members_ids Get /v2/bot/group/{groupId}/members/ids
MessagingApiApi get_group_summary Get /v2/bot/group/{groupId}/summary
MessagingApiApi get_membership_list Get /v2/bot/membership/list
MessagingApiApi get_membership_subscription Get /v2/bot/membership/subscription/{userId}
MessagingApiApi get_message_quota Get /v2/bot/message/quota
MessagingApiApi get_message_quota_consumption Get /v2/bot/message/quota/consumption
MessagingApiApi get_narrowcast_progress Get /v2/bot/message/progress/narrowcast
MessagingApiApi get_number_of_sent_broadcast_messages Get /v2/bot/message/delivery/broadcast
MessagingApiApi get_number_of_sent_multicast_messages Get /v2/bot/message/delivery/multicast
MessagingApiApi get_number_of_sent_push_messages Get /v2/bot/message/delivery/push
MessagingApiApi get_number_of_sent_reply_messages Get /v2/bot/message/delivery/reply
MessagingApiApi get_pnp_message_statistics Get /v2/bot/message/delivery/pnp
MessagingApiApi get_profile Get /v2/bot/profile/{userId}
MessagingApiApi get_rich_menu Get /v2/bot/richmenu/{richMenuId}
MessagingApiApi get_rich_menu_alias Get /v2/bot/richmenu/alias/{richMenuAliasId}
MessagingApiApi get_rich_menu_alias_list Get /v2/bot/richmenu/alias/list
MessagingApiApi get_rich_menu_batch_progress Get /v2/bot/richmenu/progress/batch
MessagingApiApi get_rich_menu_id_of_user Get /v2/bot/user/{userId}/richmenu
MessagingApiApi get_rich_menu_list Get /v2/bot/richmenu/list
MessagingApiApi get_room_member_count Get /v2/bot/room/{roomId}/members/count
MessagingApiApi get_room_member_profile Get /v2/bot/room/{roomId}/member/{userId}
MessagingApiApi get_room_members_ids Get /v2/bot/room/{roomId}/members/ids
MessagingApiApi get_webhook_endpoint Get /v2/bot/channel/webhook/endpoint
MessagingApiApi issue_link_token Post /v2/bot/user/{userId}/linkToken
MessagingApiApi leave_group Post /v2/bot/group/{groupId}/leave
MessagingApiApi leave_room Post /v2/bot/room/{roomId}/leave
MessagingApiApi link_rich_menu_id_to_user Post /v2/bot/user/{userId}/richmenu/{richMenuId}
MessagingApiApi link_rich_menu_id_to_users Post /v2/bot/richmenu/bulk/link
MessagingApiApi mark_messages_as_read Post /v2/bot/message/markAsRead
MessagingApiApi multicast Post /v2/bot/message/multicast
MessagingApiApi narrowcast Post /v2/bot/message/narrowcast
MessagingApiApi push_message Post /v2/bot/message/push
MessagingApiApi push_messages_by_phone Post /bot/pnp/push
MessagingApiApi reply_message Post /v2/bot/message/reply
MessagingApiApi rich_menu_batch Post /v2/bot/richmenu/batch
MessagingApiApi set_default_rich_menu Post /v2/bot/user/all/richmenu/{richMenuId}
MessagingApiApi set_webhook_endpoint Put /v2/bot/channel/webhook/endpoint
MessagingApiApi show_loading_animation Post /v2/bot/chat/loading/start
MessagingApiApi test_webhook_endpoint Post /v2/bot/channel/webhook/test
MessagingApiApi unlink_rich_menu_id_from_user Delete /v2/bot/user/{userId}/richmenu
MessagingApiApi unlink_rich_menu_id_from_users Post /v2/bot/richmenu/bulk/unlink
MessagingApiApi update_rich_menu_alias Post /v2/bot/richmenu/alias/{richMenuAliasId}
MessagingApiApi validate_broadcast Post /v2/bot/message/validate/broadcast
MessagingApiApi validate_multicast Post /v2/bot/message/validate/multicast
MessagingApiApi validate_narrowcast Post /v2/bot/message/validate/narrowcast
MessagingApiApi validate_push Post /v2/bot/message/validate/push
MessagingApiApi validate_reply Post /v2/bot/message/validate/reply
MessagingApiApi validate_rich_menu_batch_request Post /v2/bot/richmenu/validate/batch
MessagingApiApi validate_rich_menu_object Post /v2/bot/richmenu/validate
MessagingApiBlobApi get_message_content Get /v2/bot/message/{messageId}/content
MessagingApiBlobApi get_message_content_preview Get /v2/bot/message/{messageId}/content/preview
MessagingApiBlobApi get_message_content_transcoding_by_message_id Get /v2/bot/message/{messageId}/content/transcoding
MessagingApiBlobApi get_rich_menu_image Get /v2/bot/richmenu/{richMenuId}/content
MessagingApiBlobApi set_rich_menu_image Post /v2/bot/richmenu/{richMenuId}/content

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~8–19MB
~271K SLoC