original_string: private static function get_conversation_member_structure() {
          $result = [
              'id' => new external_value(PARAM_INT, 'The user id'),
              'fullname' => new external_value(PARAM_NOTAGS, 'The user\'s name'),
              'profileurl' => new external_value(PARAM_URL, 'The link to the user\'s profile page'),
              'profileimageurl' => new external_value(PARAM_URL, 'User picture URL'),
              'profileimageurlsmall' => new external_value(PARAM_URL, 'Small user picture URL'),
              'isonline' => new external_value(PARAM_BOOL, 'The user\'s online status'),
              'showonlinestatus' => new external_value(PARAM_BOOL, 'Show the user\'s online status?'),
              'isblocked' => new external_value(PARAM_BOOL, 'If the user has been blocked'),
              'iscontact' => new external_value(PARAM_BOOL, 'Is the user a contact?'),
              'isdeleted' => new external_value(PARAM_BOOL, 'Is the user deleted?'),
              'canmessage' => new external_value(PARAM_BOOL, 'If the user can be messaged'),
              'requirescontact' => new external_value(PARAM_BOOL, 'If the user requires to be contacts'),
          ];
  
          $result['contactrequests'] = new external_multiple_structure(
              new external_single_structure(
                  [
                      'id' => new external_value(PARAM_INT, 'The id of the contact request'),
                      'userid' => new external_value(PARAM_INT, 'The id of the user who created the contact request'),
                      'requesteduserid' => new external_value(PARAM_INT, 'The id of the user confirming the request'),
                      'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the contact request'),
                  ]
              ), 'The contact requests', VALUE_OPTIONAL
          );
  
          $result['conversations'] = new external_multiple_structure(new external_single_structure(
              array(
                  'id' => new external_value(PARAM_INT, 'Conversations id'),
                  'type' => new external_value(PARAM_INT, 'Conversation type: private or public'),
                  'name' => new external_value(PARAM_TEXT, 'Multilang compatible conversation name'. VALUE_OPTIONAL),
                  'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the conversation'),
              ), 'information about conversation', VALUE_OPTIONAL),
              'Conversations between users', VALUE_OPTIONAL
          );
  
          return new external_single_structure(
              $result
          );
      }
code: private static function get_conversation_member_structure() {
          $result = [
              'id' => new external_value(PARAM_INT, 'The user id'),
              'fullname' => new external_value(PARAM_NOTAGS, 'The user\'s name'),
              'profileurl' => new external_value(PARAM_URL, 'The link to the user\'s profile page'),
              'profileimageurl' => new external_value(PARAM_URL, 'User picture URL'),
              'profileimageurlsmall' => new external_value(PARAM_URL, 'Small user picture URL'),
              'isonline' => new external_value(PARAM_BOOL, 'The user\'s online status'),
              'showonlinestatus' => new external_value(PARAM_BOOL, 'Show the user\'s online status?'),
              'isblocked' => new external_value(PARAM_BOOL, 'If the user has been blocked'),
              'iscontact' => new external_value(PARAM_BOOL, 'Is the user a contact?'),
              'isdeleted' => new external_value(PARAM_BOOL, 'Is the user deleted?'),
              'canmessage' => new external_value(PARAM_BOOL, 'If the user can be messaged'),
              'requirescontact' => new external_value(PARAM_BOOL, 'If the user requires to be contacts'),
          ];
  
          $result['contactrequests'] = new external_multiple_structure(
              new external_single_structure(
                  [
                      'id' => new external_value(PARAM_INT, 'The id of the contact request'),
                      'userid' => new external_value(PARAM_INT, 'The id of the user who created the contact request'),
                      'requesteduserid' => new external_value(PARAM_INT, 'The id of the user confirming the request'),
                      'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the contact request'),
                  ]
              ), 'The contact requests', VALUE_OPTIONAL
          );
  
          $result['conversations'] = new external_multiple_structure(new external_single_structure(
              array(
                  'id' => new external_value(PARAM_INT, 'Conversations id'),
                  'type' => new external_value(PARAM_INT, 'Conversation type: private or public'),
                  'name' => new external_value(PARAM_TEXT, 'Multilang compatible conversation name'. VALUE_OPTIONAL),
                  'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the conversation'),
              ), 'information about conversation', VALUE_OPTIONAL),
              'Conversations between users', VALUE_OPTIONAL
          );
  
          return new external_single_structure(
              $result
          );
      }
code_tokens: private static function get_conversation_member_structure ( ) { $ result = [ 'id' => new external_value ( PARAM_INT , 'The user id' ) , 'fullname' => new external_value ( PARAM_NOTAGS , 'The user\'s name' ) , 'profileurl' => new external_value ( PARAM_URL , 'The link to the user\'s profile page' ) , 'profileimageurl' => new external_value ( PARAM_URL , 'User picture URL' ) , 'profileimageurlsmall' => new external_value ( PARAM_URL , 'Small user picture URL' ) , 'isonline' => new external_value ( PARAM_BOOL , 'The user\'s online status' ) , 'showonlinestatus' => new external_value ( PARAM_BOOL , 'Show the user\'s online status?' ) , 'isblocked' => new external_value ( PARAM_BOOL , 'If the user has been blocked' ) , 'iscontact' => new external_value ( PARAM_BOOL , 'Is the user a contact?' ) , 'isdeleted' => new external_value ( PARAM_BOOL , 'Is the user deleted?' ) , 'canmessage' => new external_value ( PARAM_BOOL , 'If the user can be messaged' ) , 'requirescontact' => new external_value ( PARAM_BOOL , 'If the user requires to be contacts' ) , ] ; $ result [ 'contactrequests' ] = new external_multiple_structure ( new external_single_structure ( [ 'id' => new external_value ( PARAM_INT , 'The id of the contact request' ) , 'userid' => new external_value ( PARAM_INT , 'The id of the user who created the contact request' ) , 'requesteduserid' => new external_value ( PARAM_INT , 'The id of the user confirming the request' ) , 'timecreated' => new external_value ( PARAM_INT , 'The timecreated timestamp for the contact request' ) , ] ) , 'The contact requests' , VALUE_OPTIONAL ) ; $ result [ 'conversations' ] = new external_multiple_structure ( new external_single_structure ( array ( 'id' => new external_value ( PARAM_INT , 'Conversations id' ) , 'type' => new external_value ( PARAM_INT , 'Conversation type: private or public' ) , 'name' => new external_value ( PARAM_TEXT , 'Multilang compatible conversation name' . VALUE_OPTIONAL ) , 'timecreated' => new external_value ( PARAM_INT , 'The timecreated timestamp for the conversation' ) , ) , 'information about conversation' , VALUE_OPTIONAL ) , 'Conversations between users' , VALUE_OPTIONAL ) ; return new external_single_structure ( $ result ) ; }
docstring: Return the structure of a conversation member.
  
  @return external_single_structure
  @since Moodle 3.6
docstring_tokens: Return the structure of a conversation member .