Skip to main content

SDK for interacting with Feishu(previously Lark)

Project description

Feishu Bot


pip install feishu_bot

Getting Started

from feishu_bot import FeishuBot

bot = FeishuBot('your_app_id', 'your_app_secret')
await bot.send_text('test')

By default, the message will be sent to all groups where the bot joins. However the optional groups argument can be set to specify the recipient group(s).

image_key = await bot.upload_image('')
await bot.send_image(image_key, groups='oc_foo')

# If you'd like to send this image to multiple groups
await bot.send_image(image_key, groups=['oc_bar', ''oc_foo'])

Call get_groups manually to get all the groups visible to the bot:

await bot.get_groups()


  • Automatically token management
  • Cache embeded

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for feishu-bot, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size feishu_bot-0.0.5-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size feishu_bot-0.0.5.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page