Class Elem
Inheritance
Inherited Members
Namespace: com.tencent.imsdk.unity.types
Assembly: cs.temp.dll.dll
Syntax
public class Elem
Fields
custom_elem_data
Declaration
public string custom_elem_data
Field Value
Type | Description |
---|---|
System.String | Read/Write; data; binary data supported |
custom_elem_desc
Declaration
public string custom_elem_desc
Field Value
Type | Description |
---|---|
System.String | Read/Write; custom description |
custom_elem_ext
Declaration
public string custom_elem_ext
Field Value
Type | Description |
---|---|
System.String | Read/Write; the ext field corresponding to the backend push |
custom_elem_sound
Declaration
public string custom_elem_sound
Field Value
Type | Description |
---|---|
System.String | Read/Write; the custom audio |
elem_type
Declaration
public TIMElemType elem_type
Field Value
Type | Description |
---|---|
TIMElemType | Read/Write (required); the element type |
face_elem_buf
Declaration
public string face_elem_buf
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the emoji index |
face_elem_index
Declaration
public int face_elem_index
Field Value
Type | Description |
---|---|
System.Int32 | Read/Write (optional); other additional data that can be customized by the user. To transmit binary data, first convert the binary data into strings because JSON only supports strings. |
file_elem_business_id
Declaration
public int file_elem_business_id
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the BusinessID used for download |
file_elem_download_flag
Declaration
public int file_elem_download_flag
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the file download flag |
file_elem_file_id
Declaration
public string file_elem_file_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the file ID |
file_elem_file_name
Declaration
public string file_elem_file_name
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the file name displayed. If this parameter is not specified, the default value of `kTIMFileElemFileName` is the file name in the file path specified in `kTIMFileElemFilePath`. |
file_elem_file_path
Declaration
public string file_elem_file_path
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the file path (including file name) |
file_elem_file_size
Declaration
public int file_elem_file_size
Field Value
Type | Description |
---|---|
System.Int32 | Read/Write (required); the file size |
file_elem_task_id
Declaration
public int file_elem_task_id
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the task ID, disused |
file_elem_url
Declaration
public string file_elem_url
Field Value
Type | Description |
---|---|
System.String | Read-only; the URL for file download |
group_report_elem_group_id
Declaration
public string group_report_elem_group_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the group ID |
group_report_elem_group_name
Declaration
public string group_report_elem_group_name
Field Value
Type | Description |
---|---|
System.String | Read-only; the group name |
group_report_elem_msg
Declaration
public string group_report_elem_msg
Field Value
Type | Description |
---|---|
System.String | Read-only; the reason for operation |
group_report_elem_op_group_memberinfo
Declaration
public GroupMemberInfo group_report_elem_op_group_memberinfo
Field Value
Type | Description |
---|---|
GroupMemberInfo | Read-only; the group member profile of the operator |
group_report_elem_op_user
Declaration
public string group_report_elem_op_user
Field Value
Type | Description |
---|---|
System.String | Read-only; the operator ID |
group_report_elem_op_user_info
Declaration
public UserProfile group_report_elem_op_user_info
Field Value
Type | Description |
---|---|
UserProfile | Read-only; the operator profile |
group_report_elem_platform
Declaration
public string group_report_elem_platform
Field Value
Type | Description |
---|---|
System.String | Read-only; the operator platform information |
group_report_elem_report_type
Declaration
public TIMGroupReportType group_report_elem_report_type
Field Value
Type | Description |
---|---|
TIMGroupReportType | Read-only; the type |
group_report_elem_user_data
Declaration
public string group_report_elem_user_data
Field Value
Type | Description |
---|---|
System.String | Read-only; the custom data entered by the operator |
group_tips_elem_changed_group_memberinfo_array
Declaration
public List<GroupMemberInfo> group_tips_elem_changed_group_memberinfo_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<GroupMemberInfo> | Read-only; the list of group member information |
group_tips_elem_changed_user_info_array
Declaration
public List<UserProfile> group_tips_elem_changed_user_info_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<UserProfile> | Read-only; the profile list of users operated on |
group_tips_elem_group_change_info_array
Declaration
public List<GroupTipGroupChangeInfo> group_tips_elem_group_change_info_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<GroupTipGroupChangeInfo> | Read-only; the group profile change list. This parameter is valid only when the value of `tips_type` is `kTIMGroupTip_GroupInfoChange`. |
group_tips_elem_group_id
Declaration
public string group_tips_elem_group_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the group ID |
group_tips_elem_group_name
Declaration
public string group_tips_elem_group_name
Field Value
Type | Description |
---|---|
System.String | Read-only; the group name |
group_tips_elem_member_change_info_array
Declaration
public List<GroupTipMemberChangeInfo> group_tips_elem_member_change_info_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<GroupTipMemberChangeInfo> | Read-only; the group member information change list. This parameter is valid only when the value of `tips_type` is `kTIMGroupTip_MemberInfoChange`. |
group_tips_elem_member_num
Declaration
public uint group_tips_elem_member_num
Field Value
Type | Description |
---|---|
System.UInt32 | Read-only; the number of current group members. This parameter is valid only when the event message type is `kTIMGroupTip_Invite`, `kTIMGroupTip_Quit`, or `kTIMGroupTip_Kick`. |
group_tips_elem_op_group_memberinfo
Declaration
public GroupMemberInfo group_tips_elem_op_group_memberinfo
Field Value
Type | Description |
---|---|
GroupMemberInfo | Read-only; the group member information |
group_tips_elem_op_user
Declaration
public string group_tips_elem_op_user
Field Value
Type | Description |
---|---|
System.String | Read-only; the operator ID |
group_tips_elem_op_user_info
Declaration
public UserProfile group_tips_elem_op_user_info
Field Value
Type | Description |
---|---|
UserProfile | Read-only; the operator profile |
group_tips_elem_platform
Declaration
public string group_tips_elem_platform
Field Value
Type | Description |
---|---|
System.String | Read-only; the operator platform information |
group_tips_elem_time
Declaration
public uint group_tips_elem_time
Field Value
Type | Description |
---|---|
System.UInt32 | Read-only; the group message time, disused |
group_tips_elem_tip_type
Declaration
public TIMGroupTipType group_tips_elem_tip_type
Field Value
Type | Description |
---|---|
TIMGroupTipType | Read-only; the group message type |
group_tips_elem_user_array
Declaration
public List<string> group_tips_elem_user_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | Read-only; the list of accounts operated on |
image_elem_format
Declaration
public int image_elem_format
Field Value
Type | Description |
---|---|
System.Int32 | Read/Write; the format of the sent image. 0xff: Unknown; 1: JPG; 2: GIF; 3: PNG; 4: BMP. |
image_elem_large_id
Declaration
public string image_elem_large_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the UUID of the large image |
image_elem_large_pic_height
Declaration
public int image_elem_large_pic_height
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the height of the large image |
image_elem_large_pic_size
Declaration
public int image_elem_large_pic_size
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the size of the large image |
image_elem_large_pic_width
Declaration
public int image_elem_large_pic_width
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the width of the large image |
image_elem_large_url
Declaration
public string image_elem_large_url
Field Value
Type | Description |
---|---|
System.String | Read-only; the URL of the large image |
image_elem_level
Declaration
public TIMImageLevel image_elem_level
Field Value
Type | Description |
---|---|
TIMImageLevel | Read/Write (required); the quality level of the sent image |
image_elem_orig_id
Declaration
public string image_elem_orig_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the ID of the original image |
image_elem_orig_path
Declaration
public string image_elem_orig_path
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the path of the sent image |
image_elem_orig_pic_height
Declaration
public int image_elem_orig_pic_height
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the height of the original image |
image_elem_orig_pic_size
Declaration
public int image_elem_orig_pic_size
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the size of the original image |
image_elem_orig_pic_width
Declaration
public int image_elem_orig_pic_width
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the width of the original image |
image_elem_orig_url
Declaration
public string image_elem_orig_url
Field Value
Type | Description |
---|---|
System.String | Read-only; the URL of the original image |
image_elem_task_id
Declaration
public int image_elem_task_id
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; 任务ID,废弃 |
image_elem_thumb_id
Declaration
public string image_elem_thumb_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the thumbnail ID |
image_elem_thumb_pic_height
Declaration
public int image_elem_thumb_pic_height
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the thumbnail height |
image_elem_thumb_pic_size
Declaration
public int image_elem_thumb_pic_size
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the thumbnail size |
image_elem_thumb_pic_width
Declaration
public int image_elem_thumb_pic_width
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the thumbnail width |
image_elem_thumb_url
Declaration
public string image_elem_thumb_url
Field Value
Type | Description |
---|---|
System.String | Read-only; the thumbnail URL |
location_elem_desc
Declaration
public string location_elem_desc
Field Value
Type | Description |
---|---|
System.String | Read/Write (optional); the location description |
location_elem_latitude
Declaration
public double location_elem_latitude
Field Value
Type | Description |
---|---|
System.Double | Read/Write (required); the latitude |
location_elem_longitude
Declaration
public double location_elem_longitude
Field Value
Type | Description |
---|---|
System.Double | Read/Write (required); the longitude |
merge_elem_abstract_array
Declaration
public List<string> merge_elem_abstract_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | Read/Write (required); the abstract list of the combined messages |
merge_elem_compatible_text
Declaration
public string merge_elem_compatible_text
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the compatibility of the combined messages with text. If SDKs of early versions do not support combined messages, the user will receive a text message with the content `compatibleText`. This parameter cannot be left empty. |
merge_elem_layer_over_limit
Declaration
public bool merge_elem_layer_over_limit
Field Value
Type | Description |
---|---|
System.Boolean | Read-only. When a combined message also contains combined messages, we call the situation combination nesting. The number of combination nesting levels cannot exceed 100. Otherwise, `layersOverLimit` will return `YES` and `DownloadMergerMessage` will return the error code `ERR_MERGER_MSG_LAYERS_OVER_LIMIT`, and the results of `kTIMMergerElemTitle` and `kTIMMergerElemAbstractArray` returned will be empty. |
merge_elem_message_array
Declaration
public List<Message> merge_elem_message_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<Message> | Read/Write (required); the message list. Up to 300 messages are supported. The message object must be in the `kTIMMsg_SendSucc` status. The message type cannot be `GroupTipsElem` or `GroupReportElem`. |
merge_elem_relay_buffer
Declaration
public string merge_elem_relay_buffer
Field Value
Type | Description |
---|---|
System.String | Read-only; the buffer for message forwarding |
merge_elem_relay_json_key
Declaration
public string merge_elem_relay_json_key
Field Value
Type | Description |
---|---|
System.String | Read-only; the key for downloading the message list on the web SDK |
merge_elem_relay_pb_key
Declaration
public string merge_elem_relay_pb_key
Field Value
Type | Description |
---|---|
System.String | Read-only; the key for downloading the message list on the native SDK |
merge_elem_title
Declaration
public string merge_elem_title
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the title of the combined message |
profile_change_elem_change_type
Declaration
public TIMProfileChangeType profile_change_elem_change_type
Field Value
Type | Description |
---|---|
TIMProfileChangeType | Read-only; the profile change type |
profile_change_elem_from_identifer
Declaration
public string profile_change_elem_from_identifer
Field Value
Type | Description |
---|---|
System.String | Read-only; the UserID of the user whose profile is changed |
profile_change_elem_user_profile_item
Declaration
public UserProfileItem profile_change_elem_user_profile_item
Field Value
Type | Description |
---|---|
UserProfileItem | Read-only; the specific change. This parameter is valid only when `change_type` is `kTIMProfileChange_Profile`. |
sound_elem_business_id
Declaration
public int sound_elem_business_id
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; 下载时用到的businessID |
sound_elem_download_flag
Declaration
public int sound_elem_download_flag
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; whether to apply for a download URL. 0: Yes; 1: Apply from COS; 2: Directly use the URL for download. |
sound_elem_file_id
Declaration
public string sound_elem_file_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the audio ID |
sound_elem_file_path
Declaration
public string sound_elem_file_path
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the path of the audio file. The developer must first save the audio file and then specify the path. |
sound_elem_file_size
Declaration
public int sound_elem_file_size
Field Value
Type | Description |
---|---|
System.Int32 | Read/Write (required); the size of the audio message data file, in seconds |
sound_elem_file_time
Declaration
public int sound_elem_file_time
Field Value
Type | Description |
---|---|
System.Int32 | Read/Write (required); the audio duration |
sound_elem_task_id
Declaration
public int sound_elem_task_id
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; 任务ID,废弃 |
sound_elem_url
Declaration
public string sound_elem_url
Field Value
Type | Description |
---|---|
System.String | Read-only; the download URL |
text_elem_content
Declaration
public string text_elem_content
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the text content |
video_elem_business_id
Declaration
public int video_elem_business_id
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the BusinessID used for download |
video_elem_image_download_flag
Declaration
public int video_elem_image_download_flag
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the flag for screenshot file download |
video_elem_image_height
Declaration
public uint video_elem_image_height
Field Value
Type | Description |
---|---|
System.UInt32 | Read/Write (required); the screenshot width. This parameter is set when a message is sent. |
video_elem_image_id
Declaration
public string video_elem_image_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the screenshot ID |
video_elem_image_path
Declaration
public string video_elem_image_path
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the path for saving the screenshot |
video_elem_image_size
Declaration
public uint video_elem_image_size
Field Value
Type | Description |
---|---|
System.UInt32 | Read/Write (required); the screenshot size |
video_elem_image_type
Declaration
public string video_elem_image_type
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the screenshot file type. This parameter is set when a message is sent. |
video_elem_image_url
Declaration
public string video_elem_image_url
Field Value
Type | Description |
---|---|
System.String | Read-only; the URL for downloading the screenshot |
video_elem_image_width
Declaration
public uint video_elem_image_width
Field Value
Type | Description |
---|---|
System.UInt32 | Read/Write (required); the screenshot height. This parameter is set when a message is sent. |
video_elem_task_id
Declaration
public uint video_elem_task_id
Field Value
Type | Description |
---|---|
System.UInt32 | Read-only; the task ID, disused |
video_elem_video_download_flag
Declaration
public int video_elem_video_download_flag
Field Value
Type | Description |
---|---|
System.Int32 | Read-only; the flag for downloading the video file |
video_elem_video_duration
Declaration
public uint video_elem_video_duration
Field Value
Type | Description |
---|---|
System.UInt32 | Read/Write (required); the video duration. This parameter is set when a message is sent. |
video_elem_video_id
Declaration
public string video_elem_video_id
Field Value
Type | Description |
---|---|
System.String | Read-only; the video ID |
video_elem_video_path
Declaration
public string video_elem_video_path
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the path of the adaption file |
video_elem_video_size
Declaration
public uint video_elem_video_size
Field Value
Type | Description |
---|---|
System.UInt32 | Read/Write (required); the size of the video file |
video_elem_video_type
Declaration
public string video_elem_video_type
Field Value
Type | Description |
---|---|
System.String | Read/Write (required); the type of the video file. This parameter is set when a message is sent. |
video_elem_video_url
Declaration
public string video_elem_video_url
Field Value
Type | Description |
---|---|
System.String | Read-only; the URL for downloading the video file. |