Elem

introduction

Message Element

Parameter introduction

elem_type

  • Parameter type : TIMElemType
  • Parameter description : Read & Write (Required), elem type

text_elem_content

  • Parameter type : string
  • Parameter description : Read & Write (Required), text elem content

face_elem_index

  • Parameter type : int
  • Parameter description : Read & Write (Required), face elem index

face_elem_buf

  • Parameter type : string
  • Parameter description : Read & Write (Optional), face elem info custom string

location_elem_desc

  • Parameter type : string
  • Parameter description : Read & Write (Optional), location elem desc

location_elem_longitude

  • Parameter type : double
  • Parameter description : Read & Write (Required), location elem longitude

location_elem_latitude

  • Parameter type : double
  • Parameter description : Read & Write (Required), location elem latitude

image_elem_orig_path

  • Parameter type : string
  • Parameter description : Read & Write (Required), image elem orignal image path

image_elem_level

  • Parameter type : TIMImageLevel
  • Parameter description : Read & Write (Required), image elem level

image_elem_format

  • Parameter type : int
  • Parameter description : Read & Write, image elem format.0xff:unknown, 1:JPG, 2:GIF, 3:PNG, 4:BMP

image_elem_orig_id

  • Parameter type : string
  • Parameter description : Read only, image elem orignal image ID

image_elem_orig_pic_height

  • Parameter type : int
  • Parameter description : Read only, image elem orignal image height

image_elem_orig_pic_width

  • Parameter type : int
  • Parameter description : Read only, image elem orignal image width

image_elem_orig_pic_size

  • Parameter type : int
  • Parameter description : Read only, image elem orignal image size

image_elem_thumb_id

  • Parameter type : string
  • Parameter description : Read only, image elem thumbnail ID

image_elem_thumb_pic_height

  • Parameter type : int
  • Parameter description : Read only, image elem thumbnail height

image_elem_thumb_pic_width

  • Parameter type : int
  • Parameter description : Read only, image elem thumbnail width

image_elem_thumb_pic_size

  • Parameter type : int
  • Parameter description : Read only, image elem thumbnail size

image_elem_large_id

  • Parameter type : string
  • Parameter description : Read only, image elem large image ID

image_elem_large_pic_height

  • Parameter type : int
  • Parameter description : Read only, image elem large image height

image_elem_large_pic_width

  • Parameter type : int
  • Parameter description : Read only, image elem large image width

image_elem_large_pic_size

  • Parameter type : int
  • Parameter description : Read only, image elem large image size

image_elem_orig_url

  • Parameter type : string
  • Parameter description : Read only, image elem orignal image URL

image_elem_thumb_url

  • Parameter type : string
  • Parameter description : Read only, image elem thumbnail image URL

image_elem_large_url

  • Parameter type : string
  • Parameter description : Read only, image elem large image URL

image_elem_task_id

  • Parameter type : int
  • Parameter description : Read only, image elem task ID (deprecated)

sound_elem_file_path

  • Parameter type : string
  • Parameter description : Read & Write (Required), sound elem file path

sound_elem_file_size

  • Parameter type : int
  • Parameter description : Read & Write (Required), sound elem file size

sound_elem_file_time

  • Parameter type : int
  • Parameter description : Read & Write (Required), sound elem file time in seconds

sound_elem_file_id

  • Parameter type : string
  • Parameter description : Read only, sonud elem file ID

sound_elem_business_id

  • Parameter type : int
  • Parameter description : Read only, sound elem businessID for downloading

sound_elem_download_flag

  • Parameter type : int
  • Parameter description : Read only, sound elem download permission flag: 0: need permission, 1: get permission from Tencent COS, 2: no need for permission

sound_elem_url

  • Parameter type : string
  • Parameter description : Read only, sound elem URL

sound_elem_task_id

  • Parameter type : int
  • Parameter description : Read only, sound elem task ID (deprecated)

custom_elem_data

  • Parameter type : string
  • Parameter description : Read & Write, custom elem data

custom_elem_desc

  • Parameter type : string
  • Parameter description : Read & Write, custom elem desc

custom_elem_ext

  • Parameter type : string
  • Parameter description : Read & Write, custom elem offline push extension

custom_elem_sound

  • Parameter type : string
  • Parameter description : Read & Write, custom elem sound

file_elem_file_path

  • Parameter type : string
  • Parameter description : Read & Write (Required), file elem file path

file_elem_file_name

  • Parameter type : string
  • Parameter description : Read & Write (Required), file elem file path

file_elem_file_size

  • Parameter type : int
  • Parameter description : Read & Write (Required), file elem file size

file_elem_file_id

  • Parameter type : string
  • Parameter description : Read & Write (Required), file elem file ID

file_elem_business_id

  • Parameter type : int
  • Parameter description : Read only, file elem businessID for downloading

file_elem_download_flag

  • Parameter type : int
  • Parameter description : Read only, file elem download flag

file_elem_url

  • Parameter type : string
  • Parameter description : Read only, file elem url

file_elem_task_id

  • Parameter type : int
  • Parameter description : Read only, file elem task ID (deprecated)

video_elem_video_type

  • Parameter type : string
  • Parameter description : Read & Write (Required), video elem video type

video_elem_video_size

  • Parameter type : uint
  • Parameter description : Read & Write (Required), video elem video size

video_elem_video_duration

  • Parameter type : uint
  • Parameter description : Read & Write (Required), video elem video duration

video_elem_video_path

  • Parameter type : string
  • Parameter description : Read & Write (Required), video elem video path

video_elem_video_id

  • Parameter type : string
  • Parameter description : Read only, video elem video ID

video_elem_business_id

  • Parameter type : int
  • Parameter description : Read only, video elem businessID for downloading

video_elem_video_download_flag

  • Parameter type : int
  • Parameter description : Read only, video elem video download flag

video_elem_video_url

  • Parameter type : string
  • Parameter description : Read only, video elem video url

video_elem_image_type

  • Parameter type : string
  • Parameter description : Read & Write (Required), video elem thumbnail type

video_elem_image_size

  • Parameter type : uint
  • Parameter description : Read & Write (Required), video elem thumbnail size

video_elem_image_width

  • Parameter type : uint
  • Parameter description : Read & Write (Required), video elem thumbnail width

video_elem_image_height

  • Parameter type : uint
  • Parameter description : Read & Write (Required), video elem thumbnail height

video_elem_image_path

  • Parameter type : string
  • Parameter description : Read & Write (Required), video elem thubmnail path

video_elem_image_id

  • Parameter type : string
  • Parameter description : Read & Write (Required), video elem thumbnail ID

video_elem_image_download_flag

  • Parameter type : int
  • Parameter description : Read & Write (Required), video elem thubmnail download flag

video_elem_image_url

  • Parameter type : string
  • Parameter description : Read only, video elem thumbnail URL

video_elem_task_id

  • Parameter type : uint
  • Parameter description : Read only, video elem task ID (deprecated)

merge_elem_title

  • Parameter type : string
  • Parameter description : Read & Write (Required), merge elem title

merge_elem_abstract_array

  • Parameter type : List< string >
  • Parameter description : Read & Write (Required), merge elem abstract info list

merge_elem_message_array

  • Parameter type : List< Message >
  • Parameter description : Read & Write (Required), merge elem message list, maximum 300, must be in kTIMMsg_SendSucc status and cannot be GroupTipsElem or GroupReportElem

merge_elem_compatible_text

  • Parameter type : string
  • Parameter description : Read & Write (Required), merge elem compatibleText, fallback text for lower ver. SDK

merge_elem_layer_over_limit

  • Parameter type : bool
  • Parameter description : Read only, merge elem is layer over limit. If merged message layer is over 100, this will be True and YES,kTIMMergerElemTitle and kTIMMergerElemAbstractArray will be empty. 为空,DownloadMergerMessage will return ERR_MERGER_MSG_LAYERS_OVER_LIMIT error

merge_elem_relay_pb_key

  • Parameter type : string
  • Parameter description : Read only, merge elem relay pb key for native end

merge_elem_relay_json_key

  • Parameter type : string
  • Parameter description : Read only, merge elem relay json key for web end

merge_elem_relay_buffer

  • Parameter type : string
  • Parameter description : Read only, merge elem relay buffer

group_tips_elem_tip_type

  • Parameter type : TIMGroupTipType
  • Parameter description : Read only, group tips elem tip type

group_tips_elem_op_user

  • Parameter type : string
  • Parameter description : Read only, group tips elem operator userID

group_tips_elem_group_name

  • Parameter type : string
  • Parameter description : Read only, group tips elem group name

group_tips_elem_group_id

  • Parameter type : string
  • Parameter description : Read only, group tips elem group ID

group_tips_elem_time

  • Parameter type : uint
  • Parameter description : Read only, group tips elem timestamp (deprecated)

group_tips_elem_user_array

  • Parameter type : List< string >
  • Parameter description : Read only, group tips elem operant user ID list

group_tips_elem_group_change_info_array

  • Parameter type : List< GroupTipGroupChangeInfo >
  • Parameter description : Read only, group tips elem changed group info list, works only when tips_type is kTIMGroupTip_GroupInfoChange

group_tips_elem_member_change_info_array

  • Parameter type : List< GroupTipMemberChangeInfo >
  • Parameter description : Read only, group tips elem changed member info list, works only when tips_type is kTIMGroupTip_MemberInfoChange

group_tips_elem_op_user_info

  • Parameter type : UserProfile
  • Parameter description : Read only, group tips elem operant user info

group_tips_elem_op_group_memberinfo

  • Parameter type : GroupMemberInfo
  • Parameter description : Read only, group tips elem operant group member info

group_tips_elem_changed_user_info_array

  • Parameter type : List< UserProfile >
  • Parameter description : Read only, group tips elem operant user info list

group_tips_elem_changed_group_memberinfo_array

  • Parameter type : List< GroupMemberInfo >
  • Parameter description : Read only, group tips elem changed group member info list

group_tips_elem_member_num

  • Parameter type : uint
  • Parameter description : Read only, group tips elem current member count, works only when tips_type is kTIMGroupTip_Invite, kTIMGroupTip_Quit or kTIMGroupTip_Kick

group_tips_elem_platform

  • Parameter type : string
  • Parameter description : Read only, group tips elem platform

group_report_elem_report_type

  • Parameter type : TIMGroupReportType
  • Parameter description : Read only, group report elem report type

group_report_elem_group_id

  • Parameter type : string
  • Parameter description : Read only, group report elem group ID

group_report_elem_group_name

  • Parameter type : string
  • Parameter description : Read only, group report elem group name

group_report_elem_op_user

  • Parameter type : string
  • Parameter description : Read only, group report elem operant user ID

group_report_elem_msg

  • Parameter type : string
  • Parameter description : Read only, group report elem reason message

group_report_elem_user_data

  • Parameter type : string
  • Parameter description : Read only, group report elem user data

group_report_elem_op_user_info

  • Parameter type : UserProfile
  • Parameter description : Read only, group report elem operator user info

group_report_elem_op_group_memberinfo

  • Parameter type : GroupMemberInfo
  • Parameter description : Read only, group report elem operator group member info

group_report_elem_platform

  • Parameter type : string
  • Parameter description : Read only, group report elem platform

profile_change_elem_change_type

  • Parameter type : TIMProfileChangeType
  • Parameter description : Read only, profile change elem changed type

profile_change_elem_from_identifer

  • Parameter type : string
  • Parameter description : Read only, profile change elem changed user ID

profile_change_elem_user_profile_item

  • Parameter type : UserProfileItem
  • Parameter description : Read only, profile change elem user profile item, works only when change_type is kTIMProfileChange_Profile

results matching ""

    No results matching ""