Docs QSoft
CXPerium Bot C#
CXPerium Bot C#
  • Özet
  • Appsettings
  • Source Code
    • File Structure
    • Building Blocks
      • Contact
      • Activity
      • Conversation
    • Services
      • Whatsapp Message
        • SendMessage
        • SendMessageWithButton
        • SendLocationMessage
        • SendLocationRequest
        • SendSurvey
        • SendSticker
        • SendMediaWithUrl
        • SendMessageWithFlow
      • Cxperium
      • Automate
        • Page 1
  • Başlarken
    • Gereksinimler
    • CXPerium Hesabı Oluşturma
    • Bot Projesini Klonlama
    • Nuget Paketleri
    • Tunnel Setup
    • Integration with Bot
      • Developer Settings
  • Hello World!
  • Project Structure
    • Channels
      • Whatsapp.cs
      • CXPerium.cs
    • Dialogs
  • Library
    • Objects
      • Activity
      • Conversation
      • Contact
    • Messages
  • Assistan Modules
    • Configuration
    • Intent
    • Localization
  • WebHook
  • Gelişmiş Özellikler
    • Using Flows
    • Using Catalogs
    • Logging & Debug
  • WhatsApp Cloud API & Cxperium Integration
  • Değişiklik Günlüğü
Powered by GitBook
On this page
  1. Source Code
  2. Building Blocks

Activity

Activity is the content that is received when a message is sent from WhatsApp and holds content of the message, type of message etc.

public class Activity
{
    public WhatsappMessage WpMessage { get; set; }

    public string Text { get; set; }

    public bool IsWelcome { get; set; }

    public string TimeStamp { get; set; }

    public string Value { get; set; }

    public double Latitude { get; set; }

    public double Longitude { get; set; }

    public Document Document { get; set; }

    public Image Image { get; set; }

    public Order Order { get; set; }

    public NfmReply Form { get; set; }
}

In the Activity object you can get above information about your users messages. Also, there are legacy function implementations of Activity to receive a lot more than you see above. Example:

Activity.GetProfileName(WhatsappMessage message);

WhatsappMessage object is the message you received from WhatsApp.

PreviousContactNextConversation

Last updated 9 months ago