pub struct ChatsIdApiClient { /* private fields */ }
Implementations§
Source§impl ChatsIdApiClient
impl ChatsIdApiClient
pub fn message<ID: AsRef<str>>(&self, id: ID) -> ChatsMessagesIdApiClient
pub fn members(&self) -> TeamsMembersApiClient
pub fn messages(&self) -> ChatsMessagesApiClient
pub fn member(&self) -> TeamsMembersIdApiClient
Sourcepub fn delete_chat(&self) -> RequestHandler
pub fn delete_chat(&self) -> RequestHandler
Delete entity from chats
Sourcepub fn get_chat(&self) -> RequestHandler
pub fn get_chat(&self) -> RequestHandler
Get chat
Sourcepub fn update_chat<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn update_chat<B: BodyExt>(&self, body: B) -> RequestHandler
Update chat
Sourcepub fn hide_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn hide_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action hideForUser
Sourcepub fn create_installed_apps<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn create_installed_apps<B: BodyExt>(&self, body: B) -> RequestHandler
Add app to chat
Sourcepub fn list_installed_apps(&self) -> RequestHandler
pub fn list_installed_apps(&self) -> RequestHandler
List apps in chat
Sourcepub fn get_installed_apps_count(&self) -> RequestHandler
pub fn get_installed_apps_count(&self) -> RequestHandler
Get the number of the resource
Sourcepub fn delete_installed_apps(
&self,
teams_app_installation_id: impl AsRef<str>,
) -> RequestHandler
pub fn delete_installed_apps( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler
Delete navigation property installedApps for chats
Sourcepub fn get_installed_apps(
&self,
teams_app_installation_id: impl AsRef<str>,
) -> RequestHandler
pub fn get_installed_apps( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler
Get installedApps from chats
Sourcepub fn update_installed_apps<B: BodyExt>(
&self,
teams_app_installation_id: impl AsRef<str>,
body: B,
) -> RequestHandler
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
Sourcepub fn get_installed_apps_teams_app(
&self,
teams_app_installation_id: impl AsRef<str>,
) -> RequestHandler
pub fn get_installed_apps_teams_app( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler
Get teamsApp from chats
Sourcepub fn get_teams_app_definition(
&self,
teams_app_installation_id: impl AsRef<str>,
) -> RequestHandler
pub fn get_teams_app_definition( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler
Get teamsAppDefinition from chats
Sourcepub fn upgrade(
&self,
teams_app_installation_id: impl AsRef<str>,
) -> RequestHandler
pub fn upgrade( &self, teams_app_installation_id: impl AsRef<str>, ) -> RequestHandler
Invoke action upgrade
Sourcepub fn delete_last_message_preview(&self) -> RequestHandler
pub fn delete_last_message_preview(&self) -> RequestHandler
Delete navigation property lastMessagePreview for chats
Sourcepub fn get_last_message_preview(&self) -> RequestHandler
pub fn get_last_message_preview(&self) -> RequestHandler
Get lastMessagePreview from chats
Sourcepub fn update_last_message_preview<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn update_last_message_preview<B: BodyExt>(&self, body: B) -> RequestHandler
Update the navigation property lastMessagePreview in chats
Sourcepub fn mark_chat_read_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn mark_chat_read_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action markChatReadForUser
Sourcepub fn mark_chat_unread_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn mark_chat_unread_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action markChatUnreadForUser
Sourcepub fn list_pinned_messages(&self) -> RequestHandler
pub fn list_pinned_messages(&self) -> RequestHandler
List pinnedChatMessages in a chat
Sourcepub fn create_pinned_messages<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn create_pinned_messages<B: BodyExt>(&self, body: B) -> RequestHandler
Pin a message in a chat
Sourcepub fn get_pinned_messages_count(&self) -> RequestHandler
pub fn get_pinned_messages_count(&self) -> RequestHandler
Get the number of the resource
Sourcepub fn delete_pinned_messages(
&self,
pinned_chat_message_info_id: impl AsRef<str>,
) -> RequestHandler
pub fn delete_pinned_messages( &self, pinned_chat_message_info_id: impl AsRef<str>, ) -> RequestHandler
Delete navigation property pinnedMessages for chats
Sourcepub fn get_pinned_messages(
&self,
pinned_chat_message_info_id: impl AsRef<str>,
) -> RequestHandler
pub fn get_pinned_messages( &self, pinned_chat_message_info_id: impl AsRef<str>, ) -> RequestHandler
Get pinnedMessages from chats
Sourcepub fn update_pinned_messages<B: BodyExt>(
&self,
pinned_chat_message_info_id: impl AsRef<str>,
body: B,
) -> RequestHandler
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
Sourcepub fn get_message(
&self,
pinned_chat_message_info_id: impl AsRef<str>,
) -> RequestHandler
pub fn get_message( &self, pinned_chat_message_info_id: impl AsRef<str>, ) -> RequestHandler
Get message from chats
Sourcepub fn send_activity_notification<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn send_activity_notification<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action sendActivityNotification
Sourcepub fn unhide_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn unhide_for_user<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action unhideForUser