Search Results for

    Show / Hide Table of Contents

    Introduction

    Framework handles different types of messages and events
    All handlers must be defined in Modules
    Available handlers:

    • Commands
    • Actions
    • States
    • Callback Queries

    One method can be handler for different events:

    [Action("Action")]
    [Command("command")]
    public async Task Hybrid()
    {
        ReplyAsync("Hybrid");
    }
    
    • Improve this Doc
    ☀
    ☾
    In This Article
    Back to top
    TelegramModularFramework (c) 2022-2022
    ☀
    ☾