TIMUIKitConversationController

Introduction

The controller for TIMUIKitConversation.

Parameter introduction

selectedConversation

  • Parameter type : V2TimConversation

  • Supported Platform: All

  • Parameter description : Get the current conversation.

conversationList

  • Parameter type : List< V2TimConversation? >

  • Supported Platform: All

  • Parameter description : Get the list of conversations.

loadData

  • Parameter type : void Function()

  • Supported Platform: All

  • Parameter description : Load the conversations to list manually.

reloadData

  • Parameter type : void Function()

  • Supported Platform: All

  • Parameter description : Re-load the conversations to list manually.

pinConversation

  • Parameter type : Future< V2TimCallback > Function({required String conversationID, required bool isPinned})

  • Supported Platform: All

  • Parameter description : Pin one conversation to the top.

setConversationDraft

  • Parameter type : Future< V2TimCallback > Function({required String conversationID, String? draftText})

  • Supported Platform: All

  • Parameter description : Set the draft for a conversation.

clearHistoryMessage

  • Parameter type : Future< V2TimCallback > Function({required V2TimConversation conversation})

  • Supported Platform: All

  • Parameter description : Clear the historical message in a specific conversation.

deleteConversation

  • Parameter type : Future< V2TimCallback > Function({required String conversationID})

  • Supported Platform: All

  • Parameter description : Delete a conversation.

dispose

  • Parameter type : void Function()

  • Supported Platform: All

  • Parameter description : Clear all the conversations.

results matching ""

    No results matching ""