//#region extensions/telegram/src/adapters/gateway-adapter.ts
function createTelegramGatewayAdapter(handlers) {
	return {
		startAccount: async (ctx) => {
			await handlers.startAccount(ctx.account);
		},
		stopAccount: async (ctx) => {
			await handlers.stopAccount(ctx.accountId);
		}
	};
}
//#endregion
export { createTelegramGatewayAdapter };

//# sourceMappingURL=gateway-adapter.js.map