pub struct SlackClientSession<'a, SCHC>where
    SCHC: SlackClientHttpConnector + Send,
{ pub http_session_api: SlackClientHttpSessionApi<'a, SCHC>, }

Fields§

§http_session_api: SlackClientHttpSessionApi<'a, SCHC>

Implementations§

https://api.slack.com/methods/apps.connections.open

https://api.slack.com/methods/apps.manifest.create

https://api.slack.com/methods/apps.manifest.delete

https://api.slack.com/methods/apps.manifest.export

https://api.slack.com/methods/apps.manifest.update

https://api.slack.com/methods/apps.manifest.validate

https://api.slack.com/methods/auth.test

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

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

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

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

source

pub async fn chat_post_ephemeral(
    &self,
    req: &SlackApiChatPostEphemeralRequest
) -> ClientResult<SlackApiChatPostEphemeralResponse>

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

source

pub async fn chat_post_message(
    &self,
    req: &SlackApiChatPostMessageRequest
) -> ClientResult<SlackApiChatPostMessageResponse>

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

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

The old/legacy version of unfurl with channel/ts https://api.slack.com/methods/chat.unfurl

The version for unfurl with source/unfurl_id https://api.slack.com/methods/chat.unfurl

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

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

Examples found in repository?
src/api/chat.rs (line 403)
399
400
401
402
403
404
    fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>,
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>> {
        async move { session.chat_scheduled_messages_list(self).await }.boxed()
    }

https://api.slack.com/methods/conversations.archive

https://api.slack.com/methods/conversations.close

https://api.slack.com/methods/conversations.create

https://api.slack.com/methods/conversations.history

Examples found in repository?
src/api/conversations.rs (line 416)
412
413
414
415
416
417
    fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>,
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>> {
        async move { session.conversations_history(self).await }.boxed()
    }

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

https://api.slack.com/methods/conversations.invite

https://api.slack.com/methods/conversations.join

https://api.slack.com/methods/conversations.kick

https://api.slack.com/methods/conversations.leave

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

Examples found in repository?
src/api/conversations.rs (line 530)
526
527
528
529
530
531
    fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>,
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>> {
        async move { session.conversations_list(self).await }.boxed()
    }

https://api.slack.com/methods/conversations.members

Examples found in repository?
src/api/conversations.rs (line 580)
576
577
578
579
580
581
    fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>,
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>> {
        async move { session.conversations_members(self).await }.boxed()
    }

https://api.slack.com/methods/conversations.open return_im is set to None

https://api.slack.com/methods/conversations.open return_im is set to Some(true)

https://api.slack.com/methods/conversations.rename

https://api.slack.com/methods/conversations.replies

Examples found in repository?
src/api/conversations.rs (line 667)
663
664
665
666
667
668
    fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>,
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>> {
        async move { session.conversations_replies(self).await }.boxed()
    }

https://api.slack.com/methods/conversations.setPurpose

https://api.slack.com/methods/conversations.setTopic

https://api.slack.com/methods/conversations.unarchive

https://api.slack.com/methods/reactions.get

https://api.slack.com/methods/reactions.add

https://api.slack.com/methods/reactions.remove

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

https://api.slack.com/methods/team.profile.get

https://api.slack.com/methods/api.test

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

https://api.slack.com/methods/usergroups.users.list

https://api.slack.com/methods/users.conversations

Examples found in repository?
src/api/users.rs (line 228)
224
225
226
227
228
229
    fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>,
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>> {
        async move { session.users_conversations(self).await }.boxed()
    }

https://api.slack.com/methods/users.getPresence

https://api.slack.com/methods/users.identity

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

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

Examples found in repository?
src/api/users.rs (line 279)
275
276
277
278
279
280
    fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>,
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>> {
        async move { session.users_list(self).await }.boxed()
    }

https://api.slack.com/methods/users.lookupByEmail

https://api.slack.com/methods/users.setPresence

https://api.slack.com/methods/users.profile.get

https://api.slack.com/methods/users.profile.set

https://api.slack.com/methods/views.open

https://api.slack.com/methods/views.publish

https://api.slack.com/methods/views.push

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

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more