writing-methods

Official

Write high-level client methods

Authormtcute
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide for developers on how to add or modify high-level client methods within the mtcute library, ensuring consistency and adherence to established patterns.

Core Features & Use Cases

  • Method Signature Convention: Standardizes the structure of method functions for clarity and maintainability.
  • Codegen Annotations: Details special comments used to control code generation processes.
  • Peer Resolution: Explains how to handle different types of Telegram peer identifiers.
  • Update Handling: Guides on managing and dispatching updates received from the Telegram API.
  • Pagination: Demonstrates patterns for handling paginated API responses.
  • Use Case: A developer needs to add a new method to send messages with specific formatting options. They would consult this Skill for the correct signature, how to handle optional parameters, and how to integrate it with the existing codebase.

Quick Start

Consult the writing-methods skill for guidance on adding a new high-level client method.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: writing-methods
Download link: https://github.com/mtcute/mtcute/archive/main.zip#writing-methods

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.