Struct graph_rs_sdk::chats::ChatsIdApiClient
source · 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