pub struct SlackClient { /* private fields */ }

Implementations§

source§

impl SlackClient

source

pub async fn chat_delete( &self, request: &SlackApiChatDeleteRequest ) -> SlackApiResponse<SlackApiChatDeleteResponse>

https://api.slack.com/methods/chat.delete

source

pub async fn chat_delete_scheduled_message( &self, request: &SlackApiChatDeleteScheduleMessageRequest ) -> SlackApiResponse<SlackApiChatDeleteScheduleMessageResponse>

https://api.slack.com/methods/chat.deleteScheduledMessage

https://api.slack.com/methods/chat.getPermalink

source

pub async fn chat_me_message( &self, request: &SlackApiChatMeMessageRequest ) -> SlackApiResponse<SlackApiChatMeMessageResponse>

https://api.slack.com/methods/chat.meMessage

source

pub async fn chat_post_ephemeral( &self, request: &SlackApiChatPostEphemeralRequest ) -> SlackApiResponse<SlackApiChatPostEphemeralResponse>

https://api.slack.com/methods/chat.postEphemeral あなただけに表示されています

source

pub async fn chat_post_message<B: Into<SlackApiChatPostMessageRequest>>( &self, request: B ) -> SlackApiResponse<SlackApiChatPostMessageResponse>

https://api.slack.com/methods/chat.postMessage

source

pub async fn chat_schedule_message( &self, request: &SlackApiChatScheduleMessageRequest ) -> SlackApiResponse<SlackApiChatScheduleMessageResponse>

https://api.slack.com/methods/chat.scheduleMessage

source

pub async fn chat_unfurl( &self, request: &SlackApiChatUnfurlRequest ) -> SlackApiResponse<SlackApiChatUnfurlResponse>

https://api.slack.com/methods/chat.unfurl

source

pub async fn chat_update( &self, request: &SlackApiChatUpdateRequest ) -> SlackApiResponse<SlackApiChatUpdateResponse>

https://api.slack.com/methods/chat.update

source

pub async fn chat_schedule_message_list( &self, request: &SlackApiChatScheduledMessagesListRequest ) -> SlackApiResponse<SlackApiChatScheduledMessagesListResponse>

https://api.slack.com/methods/chat.scheduledMessages.list

source§

impl SlackClient

source

pub async fn files_comments_delete( &self, value: &SlackApiFilesCommentsDeleteRequest ) -> SlackApiResponse<SlackApiFilesCommentsDeleteResponse>

https://api.slack.com/methods/files.comments.delete

source

pub async fn files_complete_upload_external( &self, value: &SlackApiFilesCompleteUploadExternalRequest ) -> SlackApiResponse<SlackApiFilesCompleteUploadExternalResponse>

https://api.slack.com/methods/files.completeUploadExternal

source

pub async fn files_delete( &self, value: &SlackApiFilesDeleteRequest ) -> SlackApiResponse<SlackApiFilesDeleteResponse>

https://api.slack.com/methods/files.delete

source

pub async fn files_get_upload_url_external( &self, value: &SlackApiFilesGetUploadUrlExternalRequest ) -> SlackApiResponse<SlackApiFilesGetUploadUrlExternalResponse>

https://api.slack.com/methods/files.getUploadURLExternal

source

pub async fn files_info( &self, value: &SlackApiFilesInfoRequest ) -> SlackApiResponse<SlackApiFilesInfoResponse>

https://api.slack.com/methods/files.info

source

pub async fn files_list( &self, value: &SlackApiFilesListRequest ) -> SlackApiResponse<SlackApiFilesListResponse>

https://api.slack.com/methods/files.list

source

pub async fn files_revoke_public_url( &self, value: &SlackApiFilesRevokePublicUrlRequest ) -> SlackApiResponse<SlackApiFilesRevokePublicUrlResponse>

https://api.slack.com/methods/files.revokePublicURL

source

pub async fn files_shared_public_url( &self, value: &SlackApiFilesSharePublicUrlRequest ) -> SlackApiResponse<SlackApiFilesSharePublicUrlResponse>

https://api.slack.com/methods/files.sharedPublicURL

source

pub async fn files_upload( &self, value: &SlackApiFilesUploadRequest ) -> SlackApiResponse<SlackApiFilesUploadResponse>

https://api.slack.com/methods/files.upload https://api.slack.com/methods/chat.delete

source

pub async fn files_remote_add( &self, value: &SlackApiFilesRemoteAddRequest ) -> SlackApiResponse<SlackApiFilesRemoteAddResponse>

https://api.slack.com/methods/files.remote.add

source

pub async fn files_remote_info( &self, value: &SlackApiFilesRemoteInfoRequest ) -> SlackApiResponse<SlackApiFilesRemoteInfoResponse>

https://api.slack.com/methods/files.remote.info

source

pub async fn files_remote_list( &self, value: &SlackApiFilesRemoteListRequest ) -> SlackApiResponse<SlackApiFilesRemoteListResponse>

https://api.slack.com/methods/files.remote.list

source

pub async fn files_remote_remove( &self, value: &SlackApiFilesRemoteRemoveRequest ) -> SlackApiResponse<SlackApiFilesRemoteRemoveResponse>

https://api.slack.com/methods/files.remote.remove

source

pub async fn files_remote_share( &self, value: &SlackApiFilesRemoteShareRequest ) -> SlackApiResponse<SlackApiFilesRemoteShareResponse>

https://api.slack.com/methods/files.remote.share

source

pub async fn files_remote_update( &self, value: &SlackApiFilesRemoteUpdateRequest ) -> SlackApiResponse<SlackApiFilesRemoteUpdateResponse>

https://api.slack.com/methods/files.remote.update

source§

impl SlackClient

source§

impl SlackClient

source

pub fn new(token: &str) -> Self

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.

§

impl<T> Instrument for T

§

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

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

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>,

§

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>,

§

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.
§

impl<T> Typeable for T
where T: Any,

§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> UnsafeAny for T
where T: Any,