Struct ChatsIdApiClient

Source
pub struct ChatsIdApiClient { /* private fields */ }

Implementations§

Source§

impl ChatsIdApiClient

Source

pub fn message<ID: AsRef<str>>(&self, id: ID) -> ChatsMessagesIdApiClient

Source

pub fn members(&self) -> TeamsMembersApiClient

Source

pub fn messages(&self) -> ChatsMessagesApiClient

Source

pub fn member(&self) -> TeamsMembersIdApiClient

Source

pub fn delete_chat(&self) -> RequestHandler

Delete entity from chats

Source

pub fn get_chat(&self) -> RequestHandler

Get chat

Source

pub fn update_chat<B: BodyExt>(&self, body: B) -> RequestHandler

Update chat

Source

pub fn hide_for_user<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action hideForUser

Source

pub fn create_installed_apps<B: BodyExt>(&self, body: B) -> RequestHandler

Add app to chat

Source

pub fn list_installed_apps(&self) -> RequestHandler

List apps in chat

Source

pub fn get_installed_apps_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_installed_apps( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property installedApps for chats

Source

pub fn get_installed_apps( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler

Get installedApps from chats

Source

pub fn update_installed_apps<B: BodyExt>( &self, teams_app_installation_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property installedApps in chats

Source

pub fn get_installed_apps_teams_app( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler

Get teamsApp from chats

Source

pub fn get_teams_app_definition( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler

Get teamsAppDefinition from chats

Source

pub fn upgrade( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler

Invoke action upgrade

Source

pub fn delete_last_message_preview(&self) -> RequestHandler

Delete navigation property lastMessagePreview for chats

Source

pub fn get_last_message_preview(&self) -> RequestHandler

Get lastMessagePreview from chats

Source

pub fn update_last_message_preview<B: BodyExt>(&self, body: B) -> RequestHandler

Update the navigation property lastMessagePreview in chats

Source

pub fn mark_chat_read_for_user<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action markChatReadForUser

Source

pub fn mark_chat_unread_for_user<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action markChatUnreadForUser

Source

pub fn list_pinned_messages(&self) -> RequestHandler

List pinnedChatMessages in a chat

Source

pub fn create_pinned_messages<B: BodyExt>(&self, body: B) -> RequestHandler

Pin a message in a chat

Source

pub fn get_pinned_messages_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_pinned_messages( &self, pinned_chat_message_info_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property pinnedMessages for chats

Source

pub fn get_pinned_messages( &self, pinned_chat_message_info_id: impl AsRef<str>, ) -> RequestHandler

Get pinnedMessages from chats

Source

pub fn update_pinned_messages<B: BodyExt>( &self, pinned_chat_message_info_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property pinnedMessages in chats

Source

pub fn get_message( &self, pinned_chat_message_info_id: impl AsRef<str>, ) -> RequestHandler

Get message from chats

Source

pub fn send_activity_notification<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action sendActivityNotification

Source

pub fn unhide_for_user<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action unhideForUser

Trait Implementations§

Source§

impl ApiClientImpl for ChatsIdApiClient

Source§

fn url(&self) -> Url

Source§

fn render_path<S: AsRef<str>>( &self, path: S, path_params_map: &Value, ) -> GraphResult<String>

Source§

fn build_url<S>( &self, path: S, path_params_map: &Value, ) -> Result<Url, GraphFailure>
where S: AsRef<str>,

Source§

impl Debug for ChatsIdApiClient

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl ODataQuery for ChatsIdApiClient

Source§

fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self

Source§

fn count<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the total count of matching resources. See the docs
Source§

fn select(self, value: &[&str]) -> Self

Filters properties (columns). See the docs
Source§

fn expand(self, value: &[&str]) -> Self

Retrieves related resources. See the docs
Source§

fn filter(self, value: &[&str]) -> Self

Filters results (rows). See the docs
Source§

fn order_by(self, value: &[&str]) -> Self

Orders results. See the docs
Source§

fn search<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns results based on search criteria. See the docs
Source§

fn format<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns the results in the specified media format. See the docs
Source§

fn skip<S>(self, value: S) -> Self
where S: AsRef<str>,

Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results. See the docs
Source§

fn skip_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Source§

fn delta_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Source§

fn top<S>(self, value: S) -> Self
where S: AsRef<str>,

Sets the page size of results. See the docs
Source§

impl ResourceIdentifier for ChatsIdApiClient

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