Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
core_message\api Member List

This is the complete list of members for core_message\api, including all inherited members.

add_contact(int $userid, int $contactid)core_message\apistatic
add_members_to_conversation(array $userids, int $convid)core_message\apistatic
block_user(int $userid, int $usertoblockid)core_message\apistatic
can_contact_user(int $recipientid, int $senderid, bool $evenifblocked=false)core_message\apiprotectedstatic
can_create_contact(int $userid, int $requesteduserid)core_message\apistatic
can_create_group_conversation(int $userid, context $context)core_message\apistatic
can_delete_conversation(int $userid, int $conversationid=null)core_message\apistatic
can_delete_message($userid, $messageid)core_message\apistatic
can_delete_message_for_all_users(int $userid, int $messageid)core_message\apistatic
can_mark_all_messages_as_read(int $userid, int $conversationid)core_message\apistatic
can_post_message($recipient, $sender=null)core_message\apistatic
can_send_message(int $recipientid, int $senderid, bool $evenifblocked=false)core_message\apistatic
can_send_message_to_conversation(int $userid, int $conversationid)core_message\apistatic
confirm_contact_request(int $userid, int $requesteduserid)core_message\apistatic
CONVERSATION_ACTION_MUTEDcore_message\api
count_blocked_users($user=null)core_message\apistatic
count_contacts(int $userid)core_message\apistatic
count_conversation_members(int $convid)core_message\apistatic
count_unread_conversations($user=null)core_message\apistatic
create_contact_request(int $userid, int $requesteduserid)core_message\apistatic
create_conversation(int $type, array $userids, string $name=null, int $enabled=self::MESSAGE_CONVERSATION_ENABLED, string $component=null, string $itemtype=null, int $itemid=null, int $contextid=null)core_message\apistatic
create_conversation_between_users(array $userids)core_message\apistatic
decline_contact_request(int $userid, int $requesteduserid)core_message\apistatic
delete_all_conversation_data(int $conversationid)core_message\apistatic
delete_conversation($userid, $otheruserid)core_message\apistatic
delete_conversation_by_id(int $userid, int $conversationid)core_message\apistatic
delete_message($userid, $messageid)core_message\apistatic
delete_message_for_all_users(int $messageid)core_message\apistatic
disable_conversation(int $conversationid)core_message\apistatic
does_contact_request_exist(int $userid, int $requesteduserid)core_message\apistatic
enable_conversation(int $conversationid)core_message\apistatic
get_all_message_preferences($processors, $providers, $user)core_message\apistatic
get_blocked_users($userid)core_message\apistatic
get_contact(int $userid, int $contactid)core_message\apistatic
get_contact_requests(int $userid, int $limitfrom=0, int $limitnum=0)core_message\apistatic
get_contact_requests_between_users(int $userid, int $requesteduserid)core_message\apistatic
get_contacts($userid, $limitfrom=0, $limitnum=0)core_message\apistatic
get_contacts_with_unread_message_count($userid, $limitfrom=0, $limitnum=0)core_message\apistatic
get_conversation(int $userid, int $conversationid, bool $includecontactrequests=false, bool $includeprivacyinfo=false, int $memberlimit=0, int $memberoffset=0, int $messagelimit=0, int $messageoffset=0, bool $newestmessagesfirst=true)core_message\apistatic
get_conversation_between_users(array $userids)core_message\apistatic
get_conversation_by_area(string $component, string $itemtype, int $itemid, int $contextid)core_message\apistatic
get_conversation_counts(int $userid)core_message\apistatic
get_conversation_members(int $userid, int $conversationid, bool $includecontactrequests=false, bool $includeprivacyinfo=false, int $limitfrom=0, int $limitnum=0)core_message\apistatic
get_conversation_messages(int $userid, int $convid, int $limitfrom=0, int $limitnum=0, string $sort='timecreated ASC', int $timefrom=0, int $timeto=0)core_message\apistatic
get_conversations($userid, $limitfrom=0, $limitnum=20, int $type=null, bool $favourites=null, bool $mergeself=false)core_message\apistatic
get_conversations_between_users(int $userid1, int $userid2, int $limitfrom=0, int $limitnum=20)core_message\apistatic
get_individual_conversations_between_users(array $useridsets)core_message\apistatic
get_linked_conversation_extra_fields(array $conversations)core_message\apiprotectedstatic
get_message_processor($name, $ready=false)core_message\apistatic
get_messages($userid, $otheruserid, $limitfrom=0, $limitnum=0, $sort='timecreated ASC', $timefrom=0, $timeto=0)core_message\apistatic
get_most_recent_conversation_message(int $convid, int $currentuserid=0)core_message\apistatic
get_most_recent_message($userid, $otheruserid)core_message\apistatic
get_non_contacts_with_unread_message_count($userid, $limitfrom=0, $limitnum=0)core_message\apistatic
get_processed_processor_object(\stdClass $processor)core_message\apistatic
get_profile($userid, $otheruserid)core_message\apistatic
get_received_contact_requests_count(int $userid)core_message\apistatic
get_self_conversation(int $userid)core_message\apistatic
get_unread_conversation_counts(int $userid)core_message\apistatic
get_user_contacts(int $userid, int $limitfrom=0, int $limitnum=0)core_message\apistatic
get_user_privacy_messaging_preference(int $userid)core_message\apistatic
is_blocked(int $userid, int $blockeduserid)core_message\apistatic
is_contact(int $userid, int $contactid)core_message\apistatic
is_conversation_area_enabled(string $component, string $itemtype, int $itemid, int $contextid)core_message\apistatic
is_conversation_muted(int $userid, int $conversationid)core_message\apistatic
is_processor_enabled($name)core_message\apistatic
is_user_blocked($recipientid, $senderid=null)core_message\apistatic
is_user_in_conversation(int $userid, int $conversationid)core_message\apistatic
is_user_non_contact_blocked($recipient, $sender=null)core_message\apistatic
lazy_create_self_conversation(int $userid)core_message\apiprotectedstatic
mark_all_messages_as_read($userid, $conversationid=null)core_message\apistatic
mark_all_notifications_as_read($touserid, $fromuserid=null, $timecreatedto=null)core_message\apistatic
mark_all_read_for_user()core_message\apistatic
mark_message_as_read($userid, $message, $timeread=null)core_message\apistatic
mark_notification_as_read($notification, $timeread=null)core_message\apistatic
MESSAGE_ACTION_DELETEDcore_message\api
MESSAGE_ACTION_READcore_message\api
MESSAGE_CONVERSATION_DISABLEDcore_message\api
MESSAGE_CONVERSATION_ENABLEDcore_message\api
MESSAGE_CONVERSATION_TYPE_GROUPcore_message\api
MESSAGE_CONVERSATION_TYPE_INDIVIDUALcore_message\api
MESSAGE_CONVERSATION_TYPE_SELFcore_message\api
MESSAGE_MAX_LENGTHcore_message\api
MESSAGE_PRIVACY_COURSEMEMBERcore_message\api
MESSAGE_PRIVACY_ONLYCONTACTScore_message\api
MESSAGE_PRIVACY_SITEcore_message\api
message_search_users(int $userid, string $search, int $limitfrom=0, int $limitnum=20)core_message\apistatic
mute_conversation(int $userid, int $conversationid)core_message\apistatic
remove_contact(int $userid, int $contactid)core_message\apistatic
remove_members_from_conversation(array $userids, int $convid)core_message\apistatic
search_messages($userid, $search, $limitfrom=0, $limitnum=0)core_message\apistatic
search_users($userid, $search, $limitnum=0)core_message\apistatic
search_users_in_course($userid, $courseid, $search, $limitfrom=0, $limitnum=0)core_message\apistatic
send_message_to_conversation(int $userid, int $conversationid, string $message, int $format)core_message\apistatic
set_favourite_conversation(int $conversationid, int $userid)core_message\apistatic
unblock_user(int $userid, int $usertounblockid)core_message\apistatic
unmute_conversation(int $userid, int $conversationid)core_message\apistatic
unset_favourite_conversation(int $conversationid, int $userid)core_message\apistatic
update_conversation_name(int $conversationid, string $name)core_message\apistatic
update_processor_status($processor, $enabled)core_message\apistatic