owpengram-server/internal/domain
Astra 11dd7660c0 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-09 16:26:33 +01:00
..
account.go Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
account_deletion.go feat: sync account deletion lifecycle 2026-07-19 20:35:58 +08:00
admin.go fix: sync account freeze peer visibility 2026-07-22 02:03:00 +08:00
ai.go feat: sync AI compose and ChatBot features 2026-07-03 19:43:20 +08:00
album_group.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
auth_delivery_report.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
authorization.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
boost.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
boost_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
bootstrap_update.go feat: defer login bootstrap updates 2026-07-05 03:28:19 +08:00
bot.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
bot_inline.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
bot_verification.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
botapi_chat.go botapi: getChatMemberCount, getChatMember, and a fuller getChat 2026-09-09 16:26:33 +01:00
botapi_rich_message.go feat: sync bot rich messages and inline menus 2026-07-21 15:44:43 +08:00
botapi_update.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
botapi_update_test.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
botapi_webhook.go feat: sync bot keyboards and callbacks 2026-07-19 20:38:48 +08:00
branding_test.go fix 2026-07-20 23:43:56 +03:00
broadcast.go added ability to broadcast 2026-08-06 15:22:36 +03:00
business.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
channel.go forum: fix reply_to_top_id for replies inside a forum 2026-09-09 11:15:56 +01:00
channel_banned_rights.go feat: sync rich text message support 2026-07-04 21:15:35 +08:00
channel_errors.go fix: sync monoforum suggested post flow 2026-07-22 16:08:44 +08:00
chatlist.go feat: sync chatlist sharing support 2026-07-06 21:06:33 +08:00
client_telemetry.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
client_telemetry_test.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
collectible_username.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
community.go feat: sync community aggregates 2026-07-20 16:46:02 +08:00
contact.go feat: sync recent call and channel fixes 2026-07-01 14:34:59 +08:00
dialog.go fix(channels): sync preserve locally cleared dialogs 2026-07-29 16:19:04 +08:00
doc.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
emailphone.go fixes 2026-07-18 10:33:17 +03:00
emailphone_test.go added config for virtual phone number 2026-07-14 18:37:27 +03:00
ephemeral.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
ephemeral_test.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
gif_catalog.go categorisation for gifs 2026-08-24 23:09:08 +03:00
groupcall.go feat: sync group call livestream support 2026-07-06 14:32:45 +08:00
help.go Initial open source release 2026-06-04 01:37:39 +08:00
langpack.go fix(langpack): sync WebK catalog alias support 2026-07-25 14:08:49 +08:00
livestream.go feat: sync group call livestream support 2026-07-06 14:32:45 +08:00
login_code_delivery.go feat: sync visible product branding 2026-07-20 16:49:17 +08:00
media.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
media_category.go feat: sync iOS compatibility support 2026-07-13 00:58:57 +08:00
media_category_test.go feat: sync iOS compatibility support 2026-07-13 00:58:57 +08:00
media_errors.go s3 support 2026-08-04 23:09:11 +03:00
media_refs.go s3 support 2026-08-04 23:09:11 +03:00
media_test.go feat: sync built-in sticker bot 2026-07-01 21:55:55 +08:00
message.go fix(messages): sync preserve private dialogs after clearing history 2026-07-29 13:51:02 +08:00
message_errors.go fix: sync support private chat content protection 2026-07-28 16:22:33 +08:00
message_markup.go feat: sync HTTP callback OIDC setup 2026-07-21 18:18:33 +08:00
message_markup_test.go feat: sync HTTP callback OIDC setup 2026-07-21 18:18:33 +08:00
message_test.go Initial open source release 2026-06-04 01:37:39 +08:00
moderation.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
moderation_case.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
moderation_registry.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
moderation_test.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
notify.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
passkey.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
phone.go feat: sync recent call and channel fixes 2026-07-01 14:34:59 +08:00
phone_change.go fix for phone generation on email signup 2026-07-14 00:30:52 +03:00
poll.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
premium.go feat(premium): sync promo video catalog seed 2026-07-26 15:59:25 +08:00
premium_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
privacy.go feat: sync durable moderation and appeals 2026-07-24 11:56:59 +08:00
saved_dialog.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
saved_music.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
secretchat.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
sticker_collection.go feat: sync built-in sticker bot 2026-07-01 21:55:55 +08:00
story.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
system.go added full gifts support 2026-08-07 10:13:11 +03:00
telegram_login.go feat: sync Telegram Login OIDC provider 2026-07-21 15:46:24 +08:00
telegram_login_test.go feat: sync Telegram Login OIDC provider 2026-07-21 15:46:24 +08:00
temp_auth_key.go Initial open source release 2026-06-04 01:37:39 +08:00
themes.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
translation.go feat: sync message translation support 2026-07-12 14:20:26 +08:00
update.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
update_event.go fix(channels): sync preserve locally cleared dialogs 2026-07-29 16:19:04 +08:00
user.go removed all "paid" features - no more stars, gifts, or grams 2026-08-07 01:50:10 +03:00
user_errors.go fix(admin): close PR review blockers 2026-07-23 13:29:04 +08:00
verification.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
webpage.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
webpage_test.go chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
welcome_message.go welcome message: point updates-channel mention at @ziodotsh 2026-09-09 13:49:07 +01:00
welcome_message_test.go welcome message: link @zio with a mention entity 2026-09-08 16:29:37 +01:00