owpengram-server/internal/botapi
Astra 22846e340f botapi: getChatMemberCount, getChatMember, and a fuller getChat
- getChatMemberCount: channel/supergroup participant count (numeric chat_id).
- getChatMember: resolves a member via GetParticipant, projected to a Bot API
  ChatMember (creator/administrator/restricted/member/left/kicked with the
  matching rights); a user simply not in an accessible chat returns "left".
- getChat now uses the full channel view and adds permissions (from the default
  restrictions), slow_mode_delay, linked_chat_id and pinned_message.

Channel-only methods reject user chat_ids; private chats the bot cannot access
return CHAT_NOT_FOUND.
2026-09-14 12:00:03 +01:00
..
bot_commands.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
ephemeral.go feat: sync bot api formatted text parse modes 2026-07-20 20:23:47 +08:00
formatted_text.go feat: sync bot api formatted text parse modes 2026-07-20 20:23:47 +08:00
formatted_text_test.go feat: sync bot api formatted text parse modes 2026-07-20 20:23:47 +08:00
inline.go feat: sync Telegram Login OIDC provider 2026-07-21 15:46:24 +08:00
projection.go botapi: getChatMemberCount, getChatMember, and a fuller getChat 2026-09-14 12:00:03 +01:00
rich_message.go feat: sync bot rich messages and inline menus 2026-07-21 15:44:43 +08:00
server.go botapi: getChatMemberCount, getChatMember, and a fuller getChat 2026-09-14 12:00:03 +01:00
server_test.go botapi: getChatMemberCount, getChatMember, and a fuller getChat 2026-09-14 12:00:03 +01:00
webhook.go feat: sync bot setup and webhook diagnostics 2026-07-22 00:51:52 +08:00
webhook_test.go feat: sync bot setup and webhook diagnostics 2026-07-22 00:51:52 +08:00