Rust API client for line-bot-sdk-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.1
- Package version: 0.1.0
- Generator version: 7.17.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named line-bot-sdk-messaging-api and add the following to Cargo.toml under [dependencies]:
line-bot-sdk-messaging-api = { path = "./line-bot-sdk-messaging-api" }
Documentation for API Endpoints
All URIs are relative to https://api.line.me
| Class | Method | HTTP request | Description |
|---|---|---|---|
| MessagingApiApi | broadcast | POST /v2/bot/message/broadcast | |
| MessagingApiApi | cancel_default_rich_menu | DELETE /v2/bot/user/all/richmenu | |
| MessagingApiApi | close_coupon | PUT /v2/bot/coupon/{couponId}/close | |
| MessagingApiApi | create_coupon | POST /v2/bot/coupon | |
| 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_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_coupon_detail | GET /v2/bot/coupon/{couponId} | |
| 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_joined_membership_users | GET /v2/bot/membership/{membershipId}/users/ids | |
| 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 | list_coupon | GET /v2/bot/coupon | |
| MessagingApiApi | mark_messages_as_read | POST /v2/bot/message/markAsRead | |
| MessagingApiApi | mark_messages_as_read_by_token | POST /v2/bot/chat/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
- AcquisitionConditionRequest
- AcquisitionConditionResponse
- Action
- AgeDemographic
- AgeDemographicFilter
- AllMentionTarget
- AltUri
- AppTypeDemographic
- AppTypeDemographicFilter
- AreaDemographic
- AreaDemographicFilter
- AudienceRecipient
- AudioMessage
- BotInfoResponse
- BroadcastRequest
- ButtonsTemplate
- CameraAction
- CameraRollAction
- CarouselColumn
- CarouselTemplate
- CashBackFixedPriceInfoRequest
- CashBackFixedPriceInfoResponse
- CashBackPercentagePriceInfoRequest
- CashBackPercentagePriceInfoResponse
- CashBackPriceInfoRequest
- CashBackPriceInfoResponse
- ChatReference
- ClipboardAction
- ClipboardImagemapAction
- ConfirmTemplate
- CouponCashBackRewardRequest
- CouponCashBackRewardResponse
- CouponCreateRequest
- CouponCreateResponse
- CouponDiscountRewardRequest
- CouponDiscountRewardResponse
- CouponFreeRewardRequest
- CouponFreeRewardResponse
- CouponGiftRewardRequest
- CouponGiftRewardResponse
- CouponListResponse
- CouponMessage
- CouponOthersRewardRequest
- CouponOthersRewardResponse
- CouponResponse
- CouponRewardRequest
- CouponRewardResponse
- CreateRichMenuAliasRequest
- DatetimePickerAction
- DemographicFilter
- DiscountExplicitPriceInfoRequest
- DiscountExplicitPriceInfoResponse
- DiscountFixedPriceInfoRequest
- DiscountFixedPriceInfoResponse
- DiscountPercentagePriceInfoRequest
- DiscountPercentagePriceInfoResponse
- DiscountPriceInfoRequest
- DiscountPriceInfoResponse
- Emoji
- EmojiSubstitutionObject
- ErrorDetail
- ErrorResponse
- Filter
- FlexBlockStyle
- FlexBox
- FlexBoxBackground
- FlexBoxBorderWidth
- FlexBoxCornerRadius
- FlexBoxLinearGradient
- FlexBoxPadding
- FlexBoxSpacing
- FlexBubble
- FlexBubbleStyles
- FlexButton
- FlexCarousel
- FlexComponent
- FlexContainer
- FlexFiller
- FlexIcon
- FlexIconSize
- FlexImage
- FlexImageSize
- FlexMargin
- FlexMessage
- FlexOffset
- FlexSeparator
- FlexSpan
- FlexSpanSize
- FlexText
- FlexTextFontSize
- FlexVideo
- GenderDemographic
- GenderDemographicFilter
- GetAggregationUnitNameListResponse
- GetAggregationUnitUsageResponse
- GetFollowersResponse
- GetJoinedMembershipUsersResponse
- GetMembershipSubscriptionResponse
- GetMessageContentTranscodingResponse
- GetWebhookEndpointResponse
- GroupMemberCountResponse
- GroupSummaryResponse
- GroupUserProfileResponse
- ImageCarouselColumn
- ImageCarouselTemplate
- ImageMessage
- ImagemapAction
- ImagemapArea
- ImagemapBaseSize
- ImagemapExternalLink
- ImagemapMessage
- ImagemapVideo
- IssueLinkTokenResponse
- Limit
- LocationAction
- LocationMessage
- LotteryAcquisitionConditionRequest
- LotteryAcquisitionConditionResponse
- MarkMessagesAsReadByTokenRequest
- MarkMessagesAsReadRequest
- MembersIdsResponse
- Membership
- MembershipListResponse
- MentionSubstitutionObject
- MentionTarget
- Message
- MessageAction
- MessageImagemapAction
- MessageQuotaResponse
- MessagingApiPagerCouponListResponse
- MulticastRequest
- NarrowcastProgressResponse
- NarrowcastRequest
- NormalAcquisitionConditionRequest
- NormalAcquisitionConditionResponse
- NumberOfMessagesResponse
- OperatorDemographicFilter
- OperatorRecipient
- PnpMessagesRequest
- PostbackAction
- PushMessageRequest
- PushMessageResponse
- QuickReply
- QuickReplyItem
- QuotaConsumptionResponse
- QuotaType
- Recipient
- RedeliveryRecipient
- ReferralAcquisitionConditionResponse
- ReplyMessageRequest
- ReplyMessageResponse
- RichMenuAliasListResponse
- RichMenuAliasResponse
- RichMenuArea
- RichMenuBatchLinkOperation
- RichMenuBatchOperation
- RichMenuBatchProgressPhase
- RichMenuBatchProgressResponse
- RichMenuBatchRequest
- RichMenuBatchUnlinkAllOperation
- RichMenuBatchUnlinkOperation
- RichMenuBounds
- RichMenuBulkLinkRequest
- RichMenuBulkUnlinkRequest
- RichMenuIdResponse
- RichMenuListResponse
- RichMenuRequest
- RichMenuResponse
- RichMenuSize
- RichMenuSwitchAction
- RoomMemberCountResponse
- RoomUserProfileResponse
- Sender
- SentMessage
- SetWebhookEndpointRequest
- ShowLoadingAnimationRequest
- StickerMessage
- SubscribedMembershipPlan
- SubscribedMembershipUser
- Subscription
- SubscriptionPeriodDemographic
- SubscriptionPeriodDemographicFilter
- SubstitutionObject
- Template
- TemplateImageAspectRatio
- TemplateImageSize
- TemplateMessage
- TestWebhookEndpointRequest
- TestWebhookEndpointResponse
- TextMessage
- TextMessageV2
- UpdateRichMenuAliasRequest
- UriAction
- UriImagemapAction
- UserMentionTarget
- UserProfileResponse
- ValidateMessageRequest
- VideoMessage
To get access to the crate's generated documentation, use:
cargo doc --open