pub struct LineClient { /* private fields */ }
Implementations§
Source§impl LineClient
impl LineClient
Sourcepub async fn bot_info(&self) -> LineApiResponse<LineApiBotInfoResponse>
pub async fn bot_info(&self) -> LineApiResponse<LineApiBotInfoResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-bot-info
Source§impl LineClient
impl LineClient
Sourcepub async fn insight_message_delivery(
&self,
date: &str,
) -> LineApiResponse<LineApiInsightMessageDeliveryResponse>
pub async fn insight_message_delivery( &self, date: &str, ) -> LineApiResponse<LineApiInsightMessageDeliveryResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-number-of-delivery-messages
Sourcepub async fn insight_followers(
&self,
date: &str,
) -> LineApiResponse<LineApiInsightFollowersResponse>
pub async fn insight_followers( &self, date: &str, ) -> LineApiResponse<LineApiInsightFollowersResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-number-of-followers
Sourcepub async fn insight_demographic(
&self,
) -> LineApiResponse<LineApiInsightDemographicResponse>
pub async fn insight_demographic( &self, ) -> LineApiResponse<LineApiInsightDemographicResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-demographic
Sourcepub async fn insight_message_event(
&self,
request_id: &str,
) -> LineApiResponse<Value>
pub async fn insight_message_event( &self, request_id: &str, ) -> LineApiResponse<Value>
https://developers.line.biz/ja/reference/messaging-api/#get-demographic
Sourcepub async fn insight_message_event_aggregation(
&self,
custom_aggregation_unit: &str,
from: &str,
to: &str,
) -> LineApiResponse<Value>
pub async fn insight_message_event_aggregation( &self, custom_aggregation_unit: &str, from: &str, to: &str, ) -> LineApiResponse<Value>
https://developers.line.biz/ja/reference/messaging-api/#get-statistics-per-unit
Source§impl LineClient
impl LineClient
Sourcepub async fn message_send_reply(
&self,
request: &LineApiMessageReplyRequest,
) -> LineApiResponse<LineApiMessageReplyResponse>
pub async fn message_send_reply( &self, request: &LineApiMessageReplyRequest, ) -> LineApiResponse<LineApiMessageReplyResponse>
https://developers.line.biz/ja/reference/messaging-api/#send-reply-message
Sourcepub async fn message_send_push(
&self,
request: &LineApiMessagePushRequest,
) -> LineApiResponse<LineApiMessagePushResponse>
pub async fn message_send_push( &self, request: &LineApiMessagePushRequest, ) -> LineApiResponse<LineApiMessagePushResponse>
https://developers.line.biz/ja/reference/messaging-api/#send-push-message
Sourcepub async fn message_send_multicast(
&self,
request: &LineApiMessageMulticastRequest,
) -> LineApiResponse<LineApiMessageSendMulticastResponse>
pub async fn message_send_multicast( &self, request: &LineApiMessageMulticastRequest, ) -> LineApiResponse<LineApiMessageSendMulticastResponse>
https://developers.line.biz/ja/reference/messaging-api/#send-multicast-message
pub async fn message_send_broadcast( &self, request: &LineApiMessageBroadcastRequest, ) -> LineApiResponse<LineApiMessageSendBroadcastResponse>
Sourcepub async fn message_get_quota(
&self,
) -> LineApiResponse<LineApiMessageGetQuotaResponse>
pub async fn message_get_quota( &self, ) -> LineApiResponse<LineApiMessageGetQuotaResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-quota
Sourcepub async fn message_get_quota_consumption(
&self,
) -> LineApiResponse<LineApiMessageGetQuotaConsumptionResponse>
pub async fn message_get_quota_consumption( &self, ) -> LineApiResponse<LineApiMessageGetQuotaConsumptionResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-consumption
Sourcepub async fn message_get_number_of_reply_messages(
&self,
date: &str,
) -> LineApiResponse<LineApiMessageGetNumberOfReplyMessageResponse>
pub async fn message_get_number_of_reply_messages( &self, date: &str, ) -> LineApiResponse<LineApiMessageGetNumberOfReplyMessageResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-number-of-reply-messages
Sourcepub async fn message_get_number_of_push_messages(
&self,
date: &str,
) -> LineApiResponse<LineApiMessageGetNumberOfPushMessageResponse>
pub async fn message_get_number_of_push_messages( &self, date: &str, ) -> LineApiResponse<LineApiMessageGetNumberOfPushMessageResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-number-of-push-messages
Sourcepub async fn message_get_number_of_multicast_messages(
&self,
date: &str,
) -> LineApiResponse<LineApiMessageGetNumberOfMulticastMessageResponse>
pub async fn message_get_number_of_multicast_messages( &self, date: &str, ) -> LineApiResponse<LineApiMessageGetNumberOfMulticastMessageResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-number-of-push-messages
Sourcepub async fn message_get_number_of_broadcast_messages(
&self,
date: &str,
) -> LineApiResponse<LineApiMessageGetNumberOfBroadcastMessageResponse>
pub async fn message_get_number_of_broadcast_messages( &self, date: &str, ) -> LineApiResponse<LineApiMessageGetNumberOfBroadcastMessageResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-number-of-broadcast-messages
Sourcepub async fn message_validate_reply(
&self,
data: &Vec<Value>,
) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfReplyMessage>
pub async fn message_validate_reply( &self, data: &Vec<Value>, ) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfReplyMessage>
https://developers.line.biz/ja/reference/messaging-api/#validate-message-objects-of-reply-message
Sourcepub async fn message_validate_push(
&self,
data: &Vec<Value>,
) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfPushMessage>
pub async fn message_validate_push( &self, data: &Vec<Value>, ) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfPushMessage>
https://developers.line.biz/ja/reference/messaging-api/#validate-message-objects-of-push-message
Sourcepub async fn message_validate_multicast(
&self,
data: &Vec<Value>,
) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfMulticastMessage>
pub async fn message_validate_multicast( &self, data: &Vec<Value>, ) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfMulticastMessage>
https://developers.line.biz/ja/reference/messaging-api/#validate-message-objects-of-multicast-message
Sourcepub async fn message_validate_narrowcast(
&self,
data: &Vec<Value>,
) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfNarrowcastMessage>
pub async fn message_validate_narrowcast( &self, data: &Vec<Value>, ) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfNarrowcastMessage>
https://developers.line.biz/ja/reference/messaging-api/#validate-message-objects-of-narrowcast-message
Sourcepub async fn message_validate_broadcast(
&self,
data: &Vec<Value>,
) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfBroadcastMessage>
pub async fn message_validate_broadcast( &self, data: &Vec<Value>, ) -> LineApiResponse<LineApiMessageValidateMessageObjectsOfBroadcastMessage>
https://developers.line.biz/ja/reference/messaging-api/#validate-message-objects-of-broadcast-message
Sourcepub async fn message_aggregation_info(
&self,
) -> LineApiResponse<LineApiMessageAggregationInfoResponse>
pub async fn message_aggregation_info( &self, ) -> LineApiResponse<LineApiMessageAggregationInfoResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-number-of-units-used-this-month
Sourcepub async fn message_aggregation_list(
&self,
) -> LineApiResponse<LineApiMessageAggregationListResponse>
pub async fn message_aggregation_list( &self, ) -> LineApiResponse<LineApiMessageAggregationListResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-name-list-of-units-used-this-month
Source§impl LineClient
impl LineClient
Sourcepub async fn profile(
&self,
user_id: &str,
) -> LineApiResponse<LineApiProfileResponse>
pub async fn profile( &self, user_id: &str, ) -> LineApiResponse<LineApiProfileResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-profile
Sourcepub async fn followers_ids(
&self,
request: &LineApiFollowersIdsRequest,
) -> LineApiResponse<Value>
pub async fn followers_ids( &self, request: &LineApiFollowersIdsRequest, ) -> LineApiResponse<Value>
https://developers.line.biz/ja/reference/messaging-api/#get-follower-ids
Source§impl LineClient
impl LineClient
https://developers.line.biz/ja/reference/messaging-api/#create-rich-menu
https://developers.line.biz/ja/reference/messaging-api/#create-rich-menu
https://developers.line.biz/ja/reference/messaging-api/#delete-rich-menu
https://developers.line.biz/ja/reference/messaging-api/#download-rich-menu-image
https://developers.line.biz/ja/reference/messaging-api/#get-rich-menu-list
https://developers.line.biz/ja/reference/messaging-api/#delete-rich-menu
https://developers.line.biz/ja/reference/messaging-api/#delete-rich-menu
https://developers.line.biz/ja/reference/messaging-api/#get-default-rich-menu-id
https://developers.line.biz/ja/reference/messaging-api/#get-default-rich-menu-id
https://developers.line.biz/ja/reference/messaging-api/#cancel-default-rich-menu
Source§impl LineClient
impl LineClient
https://developers.line.biz/ja/reference/messaging-api/#create-rich-menu
https://developers.line.biz/ja/reference/messaging-api/#link-rich-menu-to-users
https://developers.line.biz/ja/reference/messaging-api/#create-rich-menu
Source§impl LineClient
impl LineClient
Sourcepub async fn webhook_endpoint_put(
&self,
endpoint: &str,
) -> LineApiResponse<Value>
pub async fn webhook_endpoint_put( &self, endpoint: &str, ) -> LineApiResponse<Value>
https://developers.line.biz/ja/reference/messaging-api/#set-webhook-endpoint-url
Sourcepub async fn webhook_endpoint_get(
&self,
) -> LineApiResponse<LineApiWebhookEndpointGetResponse>
pub async fn webhook_endpoint_get( &self, ) -> LineApiResponse<LineApiWebhookEndpointGetResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-webhook-endpoint-information
Sourcepub async fn webhook_test(
&self,
request: &LineApiWebhookTestRequest,
) -> LineApiResponse<LineApiWebhookTestResponse>
pub async fn webhook_test( &self, request: &LineApiWebhookTestRequest, ) -> LineApiResponse<LineApiWebhookTestResponse>
https://developers.line.biz/ja/reference/messaging-api/#get-webhook-endpoint-information