Struct MessagingApiApiClient

Source
pub struct MessagingApiApiClient<C>
where C: Clone + Send + Sync + 'static + Connect,
{ /* private fields */ }

Implementations§

Source§

impl<C> MessagingApiApiClient<C>
where C: Clone + Send + Sync + Connect,

Source

pub fn new(configuration: Arc<Configuration<C>>) -> MessagingApiApiClient<C>

Trait Implementations§

Source§

impl<C> MessagingApiApi for MessagingApiApiClient<C>
where C: Clone + Send + Sync + Connect,

Source§

fn broadcast( &self, broadcast_request: BroadcastRequest, x_line_retry_key: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send>>

Source§

fn cancel_default_rich_menu( &self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn create_rich_menu( &self, rich_menu_request: RichMenuRequest, ) -> Pin<Box<dyn Future<Output = Result<RichMenuIdResponse, Error>> + Send>>

Source§

fn create_rich_menu_alias( &self, create_rich_menu_alias_request: CreateRichMenuAliasRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn delete_rich_menu( &self, rich_menu_id: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn delete_rich_menu_alias( &self, rich_menu_alias_id: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn get_aggregation_unit_name_list( &self, limit: Option<&str>, start: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<GetAggregationUnitNameListResponse, Error>> + Send>>

Source§

fn get_aggregation_unit_usage( &self, ) -> Pin<Box<dyn Future<Output = Result<GetAggregationUnitUsageResponse, Error>> + Send>>

Source§

fn get_bot_info( &self, ) -> Pin<Box<dyn Future<Output = Result<BotInfoResponse, Error>> + Send>>

Source§

fn get_default_rich_menu_id( &self, ) -> Pin<Box<dyn Future<Output = Result<RichMenuIdResponse, Error>> + Send>>

Source§

fn get_followers( &self, start: Option<&str>, limit: Option<i32>, ) -> Pin<Box<dyn Future<Output = Result<GetFollowersResponse, Error>> + Send>>

Source§

fn get_group_member_count( &self, group_id: &str, ) -> Pin<Box<dyn Future<Output = Result<GroupMemberCountResponse, Error>> + Send>>

Source§

fn get_group_member_profile( &self, group_id: &str, user_id: &str, ) -> Pin<Box<dyn Future<Output = Result<GroupUserProfileResponse, Error>> + Send>>

Source§

fn get_group_members_ids( &self, group_id: &str, start: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<MembersIdsResponse, Error>> + Send>>

Source§

fn get_group_summary( &self, group_id: &str, ) -> Pin<Box<dyn Future<Output = Result<GroupSummaryResponse, Error>> + Send>>

Source§

fn get_joined_membership_users( &self, membership_id: i32, start: Option<&str>, limit: Option<i32>, ) -> Pin<Box<dyn Future<Output = Result<GetJoinedMembershipUsersResponse, Error>> + Send>>

Source§

fn get_membership_list( &self, ) -> Pin<Box<dyn Future<Output = Result<MembershipListResponse, Error>> + Send>>

Source§

fn get_membership_subscription( &self, user_id: &str, ) -> Pin<Box<dyn Future<Output = Result<GetMembershipSubscriptionResponse, Error>> + Send>>

Source§

fn get_message_quota( &self, ) -> Pin<Box<dyn Future<Output = Result<MessageQuotaResponse, Error>> + Send>>

Source§

fn get_message_quota_consumption( &self, ) -> Pin<Box<dyn Future<Output = Result<QuotaConsumptionResponse, Error>> + Send>>

Source§

fn get_narrowcast_progress( &self, request_id: &str, ) -> Pin<Box<dyn Future<Output = Result<NarrowcastProgressResponse, Error>> + Send>>

Source§

fn get_number_of_sent_broadcast_messages( &self, date: &str, ) -> Pin<Box<dyn Future<Output = Result<NumberOfMessagesResponse, Error>> + Send>>

Source§

fn get_number_of_sent_multicast_messages( &self, date: &str, ) -> Pin<Box<dyn Future<Output = Result<NumberOfMessagesResponse, Error>> + Send>>

Source§

fn get_number_of_sent_push_messages( &self, date: &str, ) -> Pin<Box<dyn Future<Output = Result<NumberOfMessagesResponse, Error>> + Send>>

Source§

fn get_number_of_sent_reply_messages( &self, date: &str, ) -> Pin<Box<dyn Future<Output = Result<NumberOfMessagesResponse, Error>> + Send>>

Source§

fn get_pnp_message_statistics( &self, date: &str, ) -> Pin<Box<dyn Future<Output = Result<NumberOfMessagesResponse, Error>> + Send>>

Source§

fn get_profile( &self, user_id: &str, ) -> Pin<Box<dyn Future<Output = Result<UserProfileResponse, Error>> + Send>>

Source§

fn get_rich_menu( &self, rich_menu_id: &str, ) -> Pin<Box<dyn Future<Output = Result<RichMenuResponse, Error>> + Send>>

Source§

fn get_rich_menu_alias( &self, rich_menu_alias_id: &str, ) -> Pin<Box<dyn Future<Output = Result<RichMenuAliasResponse, Error>> + Send>>

Source§

fn get_rich_menu_alias_list( &self, ) -> Pin<Box<dyn Future<Output = Result<RichMenuAliasListResponse, Error>> + Send>>

Source§

fn get_rich_menu_batch_progress( &self, request_id: &str, ) -> Pin<Box<dyn Future<Output = Result<RichMenuBatchProgressResponse, Error>> + Send>>

Source§

fn get_rich_menu_id_of_user( &self, user_id: &str, ) -> Pin<Box<dyn Future<Output = Result<RichMenuIdResponse, Error>> + Send>>

Source§

fn get_rich_menu_list( &self, ) -> Pin<Box<dyn Future<Output = Result<RichMenuListResponse, Error>> + Send>>

Source§

fn get_room_member_count( &self, room_id: &str, ) -> Pin<Box<dyn Future<Output = Result<RoomMemberCountResponse, Error>> + Send>>

Source§

fn get_room_member_profile( &self, room_id: &str, user_id: &str, ) -> Pin<Box<dyn Future<Output = Result<RoomUserProfileResponse, Error>> + Send>>

Source§

fn get_room_members_ids( &self, room_id: &str, start: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<MembersIdsResponse, Error>> + Send>>

Source§

fn get_webhook_endpoint( &self, ) -> Pin<Box<dyn Future<Output = Result<GetWebhookEndpointResponse, Error>> + Send>>

Source§

fn leave_group( &self, group_id: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn leave_room( &self, room_id: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn mark_messages_as_read( &self, mark_messages_as_read_request: MarkMessagesAsReadRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn multicast( &self, multicast_request: MulticastRequest, x_line_retry_key: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send>>

Source§

fn narrowcast( &self, narrowcast_request: NarrowcastRequest, x_line_retry_key: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send>>

Source§

fn push_message( &self, push_message_request: PushMessageRequest, x_line_retry_key: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<PushMessageResponse, Error>> + Send>>

Source§

fn push_messages_by_phone( &self, pnp_messages_request: PnpMessagesRequest, x_line_delivery_tag: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn reply_message( &self, reply_message_request: ReplyMessageRequest, ) -> Pin<Box<dyn Future<Output = Result<ReplyMessageResponse, Error>> + Send>>

Source§

fn rich_menu_batch( &self, rich_menu_batch_request: RichMenuBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn set_default_rich_menu( &self, rich_menu_id: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn set_webhook_endpoint( &self, set_webhook_endpoint_request: SetWebhookEndpointRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn show_loading_animation( &self, show_loading_animation_request: ShowLoadingAnimationRequest, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send>>

Source§

fn test_webhook_endpoint( &self, test_webhook_endpoint_request: Option<TestWebhookEndpointRequest>, ) -> Pin<Box<dyn Future<Output = Result<TestWebhookEndpointResponse, Error>> + Send>>

Source§

fn update_rich_menu_alias( &self, rich_menu_alias_id: &str, update_rich_menu_alias_request: UpdateRichMenuAliasRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn validate_broadcast( &self, validate_message_request: ValidateMessageRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn validate_multicast( &self, validate_message_request: ValidateMessageRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn validate_narrowcast( &self, validate_message_request: ValidateMessageRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn validate_push( &self, validate_message_request: ValidateMessageRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn validate_reply( &self, validate_message_request: ValidateMessageRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn validate_rich_menu_batch_request( &self, rich_menu_batch_request: RichMenuBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn validate_rich_menu_object( &self, rich_menu_request: RichMenuRequest, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T